Snake, the timeless arcade game, is back! In snake, players control a snake with never ending hunger as it navigates through a field in search of food! The more food the snake eats, the longer and longer it grows. Just be sure to not collide with yourself or the walls or the snake’s a goner. Compete for high scores and have fun in this adventure!
Use your WASD keys to navigate the board chasing after the quick mouse! If you run into the wall or yourself you'll have to restart and chase that high score all over again!
Javascript
HTML
CSS
Canvas
Create a startup screen with a start button
Create a snake character that moves with arrow keys
Generate food at random spots for the snake to eat
Have the snake grow in length as it eats
Have the game end when snake collides with itself or the boundary
Include a game over message
Display players score as well as high score
Provide option to restart game at any point
Have snake increase in speed as it eats
Create an image in place of the food
I'm not yet sure how to have the snake’s speed increase as it eats
Keeping track of if the snake has ran into itself or not may be a challenge