This is a classic Snake game implemented using HTML, CSS, and JavaScript. It provides an interactive and fun way to play the classic Snake game right in your web browser. The game features a game board, a scoreboard, and a leaderboard to keep track of the top players.
You can play the game by visiting the live demo.
- Classic Snake gameplay.
- Responsive design for various screen sizes.
- Real-time scoreboard to keep track of your current score.
- Leaderboard displaying the top players and their scores.
- Play and compete with your friends and try to get the highest score!
- Use the arrow keys to control the direction of the snake.
- Collect the red apples to increase your score.
- Avoid running into the walls or colliding with the snake's own body.
- Once the game is over, enter your name to submit your score to the leaderboard.
You can simply clone this repository and open the index.html
file in your web browser to play the game.
git clone https://github.com/yourusername/snake-game.git