This is a basic Snake game implemented in js. It's a classic arcade game where the player controls a snake that moves around the screen, eating food and growing in length. The game is built as a fun and educational project to help me in learning basics of js,html and css.
Snake Control: Control the snake's movement using arrow keys (or other input methods if applicable).Food: Randomly generated food items appear on the screen for the snake to eat.
Scoring: Keep track of the player's score based on the number of food items eaten.
Collision Detection: Implement collision detection to end the game when the snake hits the wall or itself.
Growth: The snake grows longer each time it eats food.
Clone this repository to your local machine using git clone https://github.com/nix1707/snake-game-js.git
.