A simple Snake Game built using HTML, CSS, and JavaScript.
- Classic snake game mechanics
- Responsive and modern UI
- Best score tracking using local storage
- Smooth animations and effects
- Playable with arrow keys
- Open
index.htmlin a web browser. - Click the "Start Game" button.
- Use the arrow keys to control the snake:
- Up Arrow: Move up
- Down Arrow: Move down
- Left Arrow: Move left
- Right Arrow: Move right
- Eat the red food to grow and increase your score.
- Avoid colliding with the walls or yourself.
- The game ends when the snake collides with the wall or itself. The best score is saved automatically.
๐ฆ Snake Game
โโโ index.html # Main HTML file
โโโ styles.css # Styling for the game UI
โโโ script.js # Game logic and functionality
No installation is required! Just open the index.html file in your browser and start playing.
This project is open-source and free to use.