Support on Patreon: https://www.patreon.com/gamkedo Try my free course: http://code-your-first-game.com (or full URL is https://www.udemy.com/code-your-first-game/ ) Next steps: http://gamkedo.com The (hacky) Snake source: https://pastebin.com/Z3zhb7cY About InteractionArtist, my 219 daily prototypes: https://www.youtube.com/watch?v=BgZrBpSISS0
Original source
47 responses to “Coding “Snake” in 4 min 30 sec (plain browser JavaScript)”
What am i watching and why
5:08 that's what he said
1:30 this guy talks so fast 😂 lol
You're talking way too fast…
I had to watch the video in 0.75x speed…
El vídeo está adelantando
To cout random statements or words js the only thing I'm capable of
What are you using god damn it.
I actually followed along and it didn't work help!
@Chris DeLeon of Gamkedo
I can do the same as yours in 4 mins easily
That was quick
How can you do this?
https://pastebin.com/sJ6kc5bi I added so it only deletes the part of the tail that you hit . . . I think lol. Any suggestions or corrections would be helpful.
Update 1: I've been adding to it and added a redirect to another page. Let me know and I'll share it if you want. I'm trying to learn more complicated things to add for fun.
Update 2: Added new stuff. Took away the second page and just used Javascript to change the current page. Has Play Again? button.
Update 3: Found really cool styling and animation for the button. Added comments with sources of code.
Update 4: If you ever read this, do you mind if I host this on my website. I wanted to ask since you wrote the base code and I'm just adding new features.
Update 5: Put code into separated functions to make slightly easier to read. Still have to find functions. Could be objects in future. Started scoring system. Need smarter way so can keep making bigger.
Update 6: Further put code in more organized functions. Out of bounds ends game. Maybe make game slower in future to start out? To make it easier to begin and make faster as collects apples? Add more apples and bombs on the canvas in the future?
Isnt this the exact same snake as in lethality.io?
When you copy and pasted code from Youtube just so you could show it off to your friends.
I am Mr. Hackerman
You say "Don't use my code".
But you're code is in YouTube
Wow
Talks fast; has fiancé.
speedrun
plz code the whole World of Warcraft using Hello Kitty notebook
I don't understand a f he's writing but im still watching the video
Impressive
Thumbnail says no engine or library. Sure
if you guys are impressed by this, you should be impressed about someone knowing a different language, that's what coding is, a different language. i'm not sure how many people are fascinating with coding more than a different language. they're both technically the same thing.
and ubuntu seems to be a good choice
I code html I do not get how you did that But most of it I did
Dude, what's the rush??
What about to do snake with python?
I was gonna be like HMMMMMM????
Oh yea you TYPE fast jesus i csnt type that fast
Can I add this to my portfolio 😂
I've coded some more complex games (thanks to you), but I can't seem to process how the array for the snake works in this one
Nice job Chris😊
How did Youtube…?
Thing is, I just finished coding my own version of Snake, and then this video gets recommended to me.
Would like for you to contact me 470.564.8012
I need you to make me a game on roblox
wait are you using mac to program? i'm sorry but we cannot be friends now.
i’m not a nerd
codes snake
I CANT EVEN CODE A text in the Notepad in 1hr he Makes a GAME IN 4MINS
WTF..?..?
read more
yeah your a nerd xD
is he a rapper ?
Join my Discord for coding!!
https://discord.gg/5gCBGMY
WITCH SPOTTED
I just watched a 7 min video and understood nothing.
He has a problem 😃😃😃 hey dude sometime get out home…
I tried to do this but doesn't work tho… 🙁
why the snake dont move
My lil brother is here just changing his CMD's color themes and getting excited af
0:38 seconds in video thinks*Why is it 4 min and 30 sec? *remembers WTF?! It's 7:08
Amazing…nah not rly