A classic Snake game built with vanilla HTML, CSS, and JavaScript.
- Arrow Keys - Control snake direction
- Eat Food - Grow longer and score points
- Avoid Walls - Don't hit the edges
- Avoid Yourself - Don't run into your own tail
# Clone the repo
git clone https://github.com/dylan3796/snake-game.git
cd snake-game
# Open in browser
open snake.htmlOr just double-click snake.html to play!
- Pure HTML5 Canvas
- Vanilla JavaScript
- CSS3 Gradients
Simple, classic, fun. No dependencies. Just snake. ๐