0
Snake game, basic need to know; and basic functionality needed......USING JAVASCRIPT
i know basic javascript, but I want to develop a snake game, I just need concept and functions to be used, I want to connect them by myself, so all those who can provides tips, hints , concept, function or related detail, are welcomes.....thanx for ur great help....
3 Answers
+ 2
You can use the Udemy course already mentioned, it's http://code-your-first-game.com
That also helped me with my first JavaScript game,
https://code.sololearn.com/Wo6A070fm13c/?ref=app
For snake, you just need to create a grid and store the position of the head (you could first start with only the head --> only one point) then, you create an array and store the last x positions in it (e.g. the last 5 positions if the length of the snake is 5)
I hope this helps
(The guy who made the Udemy course also uploaded a video on snake in JavaScript, his YouTube channel is "Gamkedo")
+ 1
You need to know html5 canvas. You can study about in in MDN.
Also, there's a free course on html5 canvas game programming in udemy.
Maybe check that out?
0
OK , that's fine...