A classic arcade experience reimagined in JavaScript! Guide your serpent through an endless grid, consuming prey to grow longer while dodging your own tail and the boundaries of the game world.
- Smooth Controls: Arrow keys for responsive gameplay
- Score Tracking: Watch your high score climb with each successful meal
- Retro Aesthetics: Pixel-perfect graphics with a modern twist
- Responsive Design: Play on desktop or mobile devices
- Clone this repository
- Open
index.htmlin your browser - Start playing immediately—no installation required
- Use arrow keys to navigate your snake
- Eat the food balls to grow and earn points
- Avoid colliding with walls and yourself
- Challenge yourself to beat your high score
- HTML5 Canvas
- Vanilla JavaScript
- CSS3
MIT License - feel free to use and modify!
How long can you survive?
