Welcome to Snakee Game! This project is a simple implementation of the classic Snake game using HTML, CSS, and JavaScript.
Snakee Game is a fun and interactive game where the player controls a snake that moves around the screen, consuming food to grow longer. The game ends when the snake collides with itself or the boundaries of the game area.
- Classic snake game mechanics
- Responsive design for various screen sizes
- Score tracking
- Simple and intuitive controls
To run Snakee Game, you need a web browser that supports HTML5, CSS3, and JavaScript.
- Clone the repository:
git clone https://github.com/omkar-103/Snake-Game.git
- Navigate to the project directory:
cd Snake-Game
- Open
index.html
in your web browser to start the game.
- Use the arrow keys (↑, ↓, ←, →) to control the direction of the snake.
- The objective is to eat the food that appears on the screen. Each time the snake eats the food, it grows longer.
- The game is over if the snake runs into the boundaries of the game area or collides with itself.
- The snake can move in four directions: up, down, left, and right.
- The snake's length increases by one unit for each piece of food it eats.
- The game ends if the snake collides with the walls or itself.
You can customize the game by modifying the following files:
index.html
: Structure of the gamecss/style.css
: Styling of the game elementsjs/index.js
: Game logic and functionality
- Change the size of the game board
- Modify the speed of the snake
- Adjust the appearance of the snake and food
Contributions are welcome! If you have suggestions for improvements or new features, please create an issue or submit a pull request.
- Fork the repository.
- Create a new branch:
git checkout -b feature-branch
- Make your changes and commit them:
git commit -m "Description of changes"
- Push to the branch:
git push origin feature-branch
- Create a new pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.
Check out the live demo of Snakee Game here.
Enjoy the game! If you have any questions or need further assistance, feel free to contact Omkar.
Happy coding!