๐Ÿ Snake

The classic arcade game, reimagined.

Guide your snake through the grid. Eat the red food to grow. Don't crash into yourself. Simple, addictive, and beautifully minimal.

๐ŸŽฎ How to Play

ActionKeys
Move โ†‘ โ†“ โ† โ†’ or W A S D
Pause Space
Restart R

โœจ Features

  • ๐ŸŸข Smooth controls — responsive keyboard input, no input lag
  • ๐Ÿ”ด Pulsing food — glowing red food with animated pulse effect
  • ๐ŸŸข Gradient snake — bright green head fading to dark green tail with eyes
  • ๐Ÿงฑ Wrap-around walls — go off one edge, appear on the other
  • ๐ŸŒ™ Dark theme — easy on the eyes, retro terminal aesthetic
  • ๐Ÿ“ฑ Mobile friendly — on-screen D-pad appears automatically on mobile
  • ๐Ÿ† Persistent high score — saved locally in your browser
  • โšก Pause & Restart — take breaks, reset anytime

๐Ÿ•น๏ธ Controls

 

 โฌ†๏ธ / W โฌ…๏ธ / A โžก๏ธ / D  โฌ‡๏ธ / S 

 

On mobile, use the on-screen D-pad that appears at the bottom of the screen.

๐Ÿง  Strategy Tips

  • Plan your path ahead — the snake only gets longer
  • Use the wrap-around walls to escape tight spots
  • The snake moves every 100ms — stay calm and precise
  • Every food is worth 10 points

Made with vanilla HTML, CSS, and JavaScript. No libraries, no frameworks, no dependencies.

How high can you score? ๐Ÿ†

Leave a comment

Log in with itch.io to leave a comment.