# Snake-Game-in-Vanilla-Js
Snake Game
This is a simple Snake Game built using HTML, CSS, and JavaScript. Players can control the snake using arrow keys and navigate it to eat fruits. The game keeps track of the current score and the highest score achieved.
How to Play
- Clone the repository or download the code files.
- Open the
index.html
file in a web browser.
- Use the arrow keys to control the snake's movement.
- Guide the snake to eat the fruits without hitting the walls or itself.
- The game ends when the snake collides with the walls or itself.
Technologies Used
Game Features
- Snake movement with arrow keys
- Random generation of fruits
- Keeping track of current and highest scores
- Game over on collision with walls or snake body