A classic Snake Game built using JavaScript, HTML, and CSS. The game features smooth controls, dynamic movement, and an interactive user experience.
- Classic Snake Gameplay – Control the snake to eat food and grow longer.
- Simple Controls – Navigate using arrow keys.
- Score Tracking – Displays the player's current score.
- Game Over Logic – Ends the game when the snake collides with itself or the boundaries.
- HTML
- CSS
- JavaScript
- Open the
index.htmlfile in a browser. - Use the arrow keys to move the snake:
Up Arrow– Move UpDown Arrow– Move DownLeft Arrow– Move LeftRight Arrow– Move Right
- Eat food to grow longer and increase your score.
- Avoid colliding with the walls or yourself.
- Clone this repository:
git clone https://github.com/Luk30lende/Snake-Game.git
- Navigate to the project directory:
cd snake-game - Open
index.htmlin your browser.
Contributions are welcome! If you'd like to improve the game, feel free to fork the repository and submit a pull request.
This project is licensed under the MIT License.
- Luke Olende – GitHub