A classic Snake game built using vanilla JavaScript—just HTML, CSS, and JS for that retro fun. Steer your snake to eat the food, but don’t run into yourself!
- Pure JS Mechanics: No frameworks needed—old-school, grid-based logic.
- Increasing Difficulty: The snake grows and becomes fast with each meal!
- Colorful Snake: The snake’s color changes to match the food it just ate.
- Bombs: Dodge the bombs or it’s game over!
- Retro Feel: Simple, classic look that keeps the focus on gameplay.
- Clone or Download this repo.
- Open
index.html
in your browser. - Use your arrow keys to guide the snake.
- Eat the food to grow—but don’t collide with your own tail!
- Fork this repo.
- Create a feature branch (
git checkout -b feature/cool-idea
). - Commit & Push.
- Open a pull request.
This project is released under the MIT License
. That means you’re free to use, modify, and distribute the code, but you do so at your own risk.
Author: Varshith Dupati
GitHub: @dvarshith
Email: dvarshith942@gmail.com
Issues: Please open an issue on this repo if you have questions or find bugs.
Enjoy the nostalgia!