Im making a simple Snake game in vanilla Javascript. The goal of the game if to eat as much foo as you can witouth crashing into the area limits or into yourself, you can move using the arrow keys
- Add snake.
- Add random "food" for the snake.
- Add score and updateScore.
- Add distance detection function and make food reapear if the snake touch the food.
- Set game area and area limits.
- Fix some bugs with limits of the game area.
- Make snake move automatically.
- Make snake grow if touch food.
- Detect colition if the snake touches itself.
- Make the UI for the game.
- Fix a bug that make food apear outside the game area.