Skip to content

varshithdupati/snake-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game

Play the Game Here!


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!


Preview

Snake Game Preview


Features

  • 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.

How to Play

  1. Clone or Download this repo.
  2. Open index.html in your browser.
  3. Use your arrow keys to guide the snake.
  4. Eat the food to grow—but don’t collide with your own tail!

Contributing

  1. Fork this repo.
  2. Create a feature branch (git checkout -b feature/cool-idea).
  3. Commit & Push.
  4. Open a pull request.

License

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.


Contact

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!

About

Vanilla JavaScript Snake Game – eat food to change snake color, dodge bombs, and beat your high score!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages