This is a classic snake game built using HTML, CSS, and JavaScript. Control the snake to eat the food and grow longer while avoiding collisions with the walls or its own body.
- Control the snake using arrow keys.
- The snake grows longer each time it eats the food.
- Game over when the snake collides with the walls or its own body.
- Keeps track of the player's current score and high score.
- The game includes sound effects for movement, game over, and eating.
- The background music adds to the overall gaming experience.
To get a local copy of the game up and running, follow these steps:
- Clone the repository:
git clone https://github.com/KishanPoddar/Snake-Game.git
- Navigate to the project directory:
cd Snake-Game
- Open the
index.html
file in your web browser.
Contributions are welcome! If you have any suggestions or improvements, please open an issue or submit a pull request. Feel free to contact me for any correction or any complaints regarding this tutorial: Contact Here