Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 829 Bytes

TODO.md

File metadata and controls

28 lines (18 loc) · 829 Bytes

Core

  • Add the ability to change the game's difficulty using a select tag.
  • Implement touch support.

Enhancements

  • Add linear-gradient css animations.

  • Add sound effects for when the snake eats a piece of food.

  • Add score.

  • Add score animations.

  • Add game state indicator (paused, running).

  • Create a game-state container that's specific for smaller screens.

  • Hide options and show them in a popup when the user click the options icon.

  • Implement high score using localStorage.

  • Randomize the initialXPos and initialYPos variables in the snake's class.

Code enhancements

  • Implement a queue instead of an array for the snake's tiles.
  • Use SCSS instead of css.

Documentation

  • Document the getRandomCoordinate function in the Food.ts class.