-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Snake Game | ||
|
||
A classic Snake Game implemented in HTML, CSS, and JavaScript. Play the game and enjoy the nostalgia of the iconic Snake game! | ||
|
||
## Demo | ||
|
||
Visit the live demo [here](https://sanmuga.github.io/Snake-game/). | ||
|
||
## Features | ||
|
||
- Snake movement controlled by arrow keys. | ||
- Eat the red circles to grow the snake and increase your score. | ||
- Game over when the snake collides with the walls or itself. | ||
- Press "Enter" to restart the game after a game over. | ||
|
||
## Getting Started | ||
|
||
1. Clone the repository: | ||
|
||
```bash | ||
git clone https://github.com/sanmuga/Snake-game.git | ||
``` | ||
|
||
2. Open `index.html` in your web browser. | ||
|
||
3. Play the Snake Game! | ||
|
||
## Customization | ||
|
||
Feel free to customize the game further based on your preferences. You can modify the snake's appearance, adjust grid size, or even add additional features. | ||
## Browser Compatibility | ||
This game is built using HTML5 features and should work in modern web browsers. | ||
## Contributing | ||
Contributions are welcome! If you have improvements or new features to suggest, please open an issue or create a pull request. | ||
## License | ||
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. | ||