https://github.com/amit81082/snake_game
A fun and interactive Snake Game built with HTML, CSS, and JavaScript. ๐ฎ It offers smooth gameplay, attractive design, and keeps track of your High Score using localStorage.
https://github.com/amit81082/snake_game
arcade-game game-development html-css-js javascript-game localstorage retro-game snake snake-game vanilla-javascript web-game
Last synced: 10 months ago
JSON representation
A fun and interactive Snake Game built with HTML, CSS, and JavaScript. ๐ฎ It offers smooth gameplay, attractive design, and keeps track of your High Score using localStorage.
- Host: GitHub
- URL: https://github.com/amit81082/snake_game
- Owner: Amit81082
- Created: 2025-03-27T09:23:28.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-29T10:58:03.000Z (about 1 year ago)
- Last Synced: 2025-04-09T23:55:54.911Z (about 1 year ago)
- Topics: arcade-game, game-development, html-css-js, javascript-game, localstorage, retro-game, snake, snake-game, vanilla-javascript, web-game
- Language: JavaScript
- Homepage: https://amit81082.github.io/Snake_Game/
- Size: 11.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐ Snake Game ๐ฏ
A fun and interactive **Snake Game** built with HTML, CSS, and JavaScript. ๐ฎ It offers smooth gameplay, attractive design, and keeps track of your **High Score** using `localStorage`.
!Live Demo -[ https://amit81082.github.io/Snake_Game/](https://snakegamekj.netlify.app/)
screenshot- 
---
## ๐ **Features**
โ
**Responsive Design:** Enjoy smooth gameplay on desktop and mobile.
โ
**High Score System:** Your best score is saved using `localStorage`.
โ
**Game Over Screen:** Displays your final and high score.
โ
**Sound Effects:** Realistic sound effects for a better gaming experience.
โ
**Keyboard Controls:** Control the snake using arrow keys.
---
## ๐ ๏ธ **Technologies Used**
- ๐ HTML5 โ For game structure
- ๐จ CSS3 โ For styling and layout
- โก JavaScript โ For game logic and interaction
- ๐ Sound effects โ For better user experience
---
## ๐ฏ **How to Play**
1. ๐ **Start the game:** The snake automatically starts moving.
2. ๐ผ **Control the snake:** Use the arrow keys (`โ โ โ โ`) to move.
3. ๐ **Eat the food:** The snake grows longer with each bite.
4. ๐ฅ **Avoid collision:** Donโt hit the walls or yourself.
5. ๐
**Game Over:** The game ends when you collide. Your final score and high score will be displayed.
---
## ๐ **Installation & Running Locally**
1. Clone the repository
```bash
git clone https://github.com/Amit81082/Snake_Game.git