Classic Snake game built with HTML5 Canvas and JavaScript.
- Smooth controls with arrow keys
- Score tracking system
- Pause and restart functionality
- Responsive design
- Clean and modern UI
- Arrow Keys: Move the snake
- Start Game: Begin a new game
- Pause: Pause/resume the current game
- Collect red food to grow longer
- Avoid hitting walls or yourself
- Higher score means faster gameplay
Clone this repository and open index.html
in your browser.
Works in all modern browsers with Canvas support.