Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 968 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 968 Bytes

Snake Game

image

Overview This is a classic Snake game implemented in JavaScript, HTML, and CSS. The game follows the traditional rules where the player controls a snake that moves around the board, eating food to grow longer. The game ends if the snake collides with itself or the game border.

Features Simple and intuitive gameplay. Responsive design. Keeps track of the player's score and high score using local storage. Keyboard controls: Arrow keys (up, down, left, right). Gameplay Objective: Control the snake to eat as much food as possible without colliding with itself or the game border. Scoring: Each food item eaten increases the player's score by 1. High Score: The highest score achieved is stored locally and displayed as the high score.

Untitled.mp4