This is a basic Tic Tac Toe game built using Flutter, which includes a good user interface, dynamic input for selecting X or O for the first player move, winner detection, draw detection, launching animation, and a custom logo.
Follow these instructions to get the project up and running on your local machine for development and testing purposes.
- Clone the repository:
git clone https://github.com/your-username/tic_tac_toe_flutter.git
- Navigate to the project directory:
cd tic_tac_toe_flutter
-
Make sure you have Flutter installed. If you don't, follow the Flutter installation guide to set it up.
-
Run the app on an emulator or a physical device:
flutter run
- Dynamic input to select X or O for the first player's move.
- Beautiful user interface with smooth animations and transitions.
- Real-time winner detection during the game.
- Detects a draw if no player wins the game.
- Custom logo for a unique and personalized touch.
- Launch the app and you will be presented with a screen to select either X or O for the first player's move.
- After selecting, the game board will appear with the chosen symbol as the first player's move.
- Players take turns to tap on an empty cell to make their move.
- The game will automatically check for a winner after each move.
- If a player wins, a congratulatory message will be displayed along with a winning animation.
- If the game ends in a draw, a message indicating a draw will be shown.
The project uses the following Flutter packages:
flutter_launcher_icons
: For setting up the app launcher icons.animated_splash_screen
: For the launching animation.
Make sure to run flutter pub get
to install these dependencies before running the app.
Contributions to this project are welcome. If you find any issues or want to improve the app, feel free to create a pull request.
Enjoy playing Tic Tac Toe! Have fun! ๐