This Flutter application implements the classic Snake Game. Players control a snake that moves around the screen, eating food to grow longer. The game ends if the snake collides with the walls or itself.
- Simple and intuitive controls.
- Smooth and responsive gameplay.
- Score tracking to keep track of your progress.
- Adjustable speed for added challenge.
- Colorful graphics and animations.
To run the Snake Game on your local machine, follow these steps:
-
Clone the repository:
git clone https://github.com/iayr1/snakegame
-
Navigate to the project directory:
cd flutter_snake_game
-
Run the application:
flutter run
- Use the arrow keys or swipe gestures to control the direction of the snake.
- Guide the snake to eat the food without colliding with the walls or itself.
- The snake grows longer each time it eats food.
- The game ends if the snake collides with the walls or itself.
Contributions are welcome! If you'd like to contribute to the development of this project, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with descriptive messages.
- Push your changes to your fork.
- Submit a pull request to the main repository.
This project was created by Mayur Chaudhari. It is based on the Flutter framework and inspired by the classic Snake Game.
This project is licensed under the MIT License.