Slither Snake Game is a classic snake game built using HTML, CSS, and JavaScript. The objective of the game is to control the snake to eat food, grow longer, and avoid collisions with itself or the game boundaries. The game tracks the player's score and saves the highest score achieved using local storage.
Interactive Gameplay: Control the snake using arrow keys to navigate and consume food.
Responsive Design: The game adapts to different screen sizes for a consistent user experience.
High Score Tracking: The highest score is saved and displayed using local storage.
Start Button: Initiate the game with a start button that hides after being clicked.
HTML: For structuring the game layout.
CSS: For styling the game interface and ensuring responsiveness.
JavaScript: For implementing game logic, real-time updates, and handling user inputs.
To run this game locally, you need a web browser that supports HTML, CSS, and JavaScript.
- Clone the repository to your local machine:
git clone https://github.com/yourusername/slither-snake-game.git
- Navigate to the project directory:
cd slither.snake.game
- To run the game:
python -m http.server