About

A classical snake game built with React.

Features and Functionality

  • 20 x 20 grid-based game board
  • Responsive layout and styling
  • Smooth animations for snake movement
  • Responsive game board with a moderate size
  • Control snake movement using the arrow keys or WASD
  • Generate food randomly on the board
  • Snake collision detection (walls and self)
  • Increase snake length by one when food is eaten
  • Track and display the current score
  • Press the spacebar to start the game
  • Display game status (playing/paused/game over)
  • Show current score with high score persistence
  • Include basic game-play instructions
  • Light and dark mode support

Applicable Challenges and Bonus

My project met the following challenge requirements and bonus:

  • Deploy Challenge
  • One-shot completion

Built With

Share this project:

Updates