A simple and interactive 15 Puzzle game built with Flutter. The objective of the game is to arrange the tiles in numerical order by sliding them into the empty space.
- Interactive tile movement
- Timer to track elapsed time
- Move counter to track the number of moves
- Shuffle tiles with solvable configurations
- Responsive design for various screen sizes
To run this project, you need to have Flutter installed on your machine. Follow these steps to set up the project:
-
Clone the repository:
git clone https://github.com/yourusername/flutter-tile-game.git cd flutter-tile-game
-
Install the dependencies:
flutter pub get
-
Run the application:
flutter run
Once the application is running, you can start playing the game by tapping on the tiles adjacent to the empty space. The timer will start when you make your first move, and you can pause the timer at any time.
- New Game: Resets the game and reshuffles the tiles.
- Pause Timer: Pauses the timer during gameplay.
Here are some screenshots of the game in action:
Contributions are welcome! If you have suggestions for improvements or new features, please fork the repository and submit a pull request.
- Fork the repository.
- Create a new branch (
git checkout -b feature/YourFeature
). - Make your changes and commit them (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/YourFeature
). - Open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.