A simple Snake Game using HTML, CSS, and JavaScript.
You can play the game here.
- Click the "Start Game" button to begin.
- Use the arrow keys to control the snake:
- Up:
ArrowUp - Down:
ArrowDown - Left:
ArrowLeft - Right:
ArrowRight
- Up:
- Eat the red food to grow the snake and increase your score.
- Avoid colliding with the walls or the snake itself.
- Snake movement controlled by arrow keys.
- Collision detection with walls and self.
- Food consumption and score update.
- Game over screen with final score and retry option.
- Sound effects for eating food and game over.
snake-game
├── css
│ └── style.css
├── js
│ └── script.js
├── sounds
│ ├── eat.mp3
│ └── gameover.mp3
├── index.html
├── screenshot.png
├── LICENSE
└── README.md
This project is licensed under the MIT License. See the LICENSE file for details.
