This is a simple snake game built with JavaScript, HTML, and CSS. The objective of the game is to control the snake and earn as many points as possible without colliding with the walls or the snake's own body. This is just a mini project i have created while learning Javascript Installation To play the game, simply download or clone this repository and open the index.html file in your web browser.
To play the game, simply download or clone this repository and open the index.html file in your web browser.
git clone https://github.com/KAVIRAJec/Javascript.git
cd Javascript
Once you have the game open in your web browser, use the arrow keys on your keyboard to control the snake. The snake will move in the direction of the arrow key you press. The game ends if the snake collides with the walls or its own body.
This project is licensed under the MIT License