Snake

Games

About this app

Guide the snake to the food and grow as long as you can, built with pure React (no game engine). Retro green LCD look. How to play Press an arrow key, swipe, tap the D-pad or press Start to begin. Steer with the arrow keys or WASD, by swiping on the screen, or with the on-screen D-pad. Eat the food (โ—†) to grow and score a point. The game ends if the snake hits a wall, an obstacle or itself. Press Space or Enter (or Play again) to start a new game.

Features

  • Speeds: Slow, Normal and Fast.
  • Wrap walls: optionally pass through a wall and come out the other side.
  • Obstacles: optionally add four fixed corner blocks to the board.
  • Options can be changed between games.
  • High score per speed, saved in localStorage.
  • Stats: games, high score and average score for each speed. Reset stats clears them and the high scores, after a Yes / No confirmation.
  • Sound effects made with the Web Audio API (start, eating food and game over, as square-wave beeps), with a ๐Ÿ”Š toggle.
  • Settings: theme (same as the device, light or dark), the speed a new session starts on, and sound on or off, all saved in localStorage.
  • Quick double turns are buffered, so fast inputs aren't lost.

This application can

Show its own pages, and nothing more

Ratings and reviews

0.0
0 review(s)
Only registered users can write reviews