| HOSTINGER DISCOUNT |
🔥 FREE .COM DOMAIN NAME
🔥 FREE SSL INCLUDED
🔥 UP TO 85% DISCOUNT
🔥 +7% DISCOUNT USING THIS COUPON: CODEEXPLAINED
Or simply use this link :
In this tutorial, we’re going to create the snake game we used to play on NOKIA mobile phones.
Snake is the common name for a video game concept where the player maneuvers a line which grows in length, with the line itself being a primary obstacle. The concept originated in the 1976 arcade game Blockade, and the ease of implementing Snake has led to hundreds of versions (some of which have the word snake or worm in the title) for many platforms. After a variant was preloaded on Nokia mobile phones in 1998, there was a resurgence of interest in the snake concept as it found a larger audience. There are over 300 Snake-like games for iOS alone.
The player controls a dot, square, or object on a bordered plane. As it moves forward, it leaves a trail behind, resembling a moving snake. In some games, the end of the trail is in a fixed position, so the snake continually gets longer as it moves. In another common scheme, the snake has a specific length, so there is a moving tail a fixed number of units away from the head. The player loses when the snake runs into the screen border, a trail or other obstacle, or itself.
If you want to follow along with me when I type in the code, you’ll need to download the starter template from GitHub.
| LINKS |
DOWNLOAD SOURCE CODE + STARTER TEMPLATE:
| SHOW ME SOME SUPPORT |
| RECOMMENDED TUTORIALS |
| SOCIAL MEDIA |
| HASH TAGS |
amazing sir,thanks for making this type of valuable tutorials
Hi, Gosha Dudar stole your videos about the snake and flappy bird.
Is it possible to add a high score feature with player name?
Source code to download in description, I appreciate it.
thanks you very mutch your channel is very usefool thanks you for tutorial of game like snake and flapy bird they are cool
why you dont use class i think that it is better.
This Chanel is just amazing… Amazing content
Good video with great explenations
THE BEST EXLANATION IN THE WORLD, VERY NICE!
<3 ótima explicação!
i couldnt ask for a better tutorial. thank you very much!!
Where are the pictures
Thank you so much! 💎
Hey Code explained, It was a very informative video for beginners like me. Thank you very much.
But it has one problem.
Problem is that when we start a game and at that time the position of food randomly comes in the position where our snake head is at start! then the game is over and score will be zero. What to do for not coming food in the starting of the game at the snake's head position?
12:26 begins the work, but PLEASE watch the introduction, it's amazing! Thank you for this video!!
I mean just wow! This is not just a place, showing the way the code is written but also understood <3 Thank you subbed!
The snake can't eat food
thank you sir, its so much fun
Video was super amazing and I know that you copied colours, layout and sounds from google's snake game. However keep it up 😀
11:54 how to kill snake on self collision
Which software is this (code editor)?
can we add a restart button
Great tutorial, I've been looking for something like that, short and to the point. One thing I noticed is that there's no collision check on new fruit generation, so in theory the new fruit can land on the snake's body.
gratitude, very well explained! 😉
GitHub send me here …to the code valley
amazing, good job bro.
I spotted a mistake at 1:30 that the src of audio has .png extension
Really useful lesson and explanation is so clear
Is this Java OOP?
It was very helpful video for complete beginner like me.
Although the game itself is fun to play, its logics and coding was simple enough to understand!
bruh, i followed your steps and it's still not working. i finished the JS and the index file and my screen is still pure freaking white. is that code still applicable for 2021??
you are the best
I am so late to the game but I love how you explain this so well
This is so cool! Thanks for such clear explanations. I’m excited to try it out.
Best Snake Game Tutorial 🙂
amazing man thanks a lot
Perfect , thank You 🙂
when did you add the new head??
This is BY FAR the best snake tutorial! Thank you so much!
Which ide you used to make this awesome game??
I think i might just have to stick with Python…
Snake doesn't moves 😢😢
The channel which actually explained.
this tutorial is very helpful and informative ..thank you so much for your efforts
Need more like this tthis is purely ajem