A minimal twist on the classic game featuring both online and offline modes. Built with the power of Flutter and Firebase, this app runs seamlessly on iOS, Android, and Web platforms.
- 2-Player Mode: Play in real-time with a friend by creating a room.
- Login Options: Use Google or Apple authentication for a seamless login experience.
- Firebase Real-Time Database: Ensures smooth and instantaneous game updates.
- 2-Player Local Mode: Play offline with a friend on the same device.
- AI Mode: Challenge yourself against an AI opponent.
- Multiple board sizes available:
- 3x3 (Classic)
- 4x4 (Intermediate)
- 5x5 (Advanced)
- UI Themes: Choose between two themes to personalize your experience.
- Minimal Design: The app is designed with simplicity and ease of use in mind.
- Flutter: For building the cross-platform mobile and web application.
- Firebase: For real-time database and authentication.
- Firebase Authentication: Supports Google and Apple login.
- Firebase Realtime Database: Handles online gameplay.
- Log in using Google or Apple authentication.
- Choose online mode and either join a room using the 6 digit code or create a room.
- Start playing in real time and after each rounds the board size gets updated randomly.
- Choose either 2-Player Local or AI Mode.
- Play with a friend on the same device or against AI.
- Clone this repository:
git clone https://github.com/princesanjivy/tic-tac-toe.git
- Navigate to the project directory:
cd tic-tac-toe
- Install dependencies:
flutter pub get
- Run the app:
flutter run
- You need to setup Firebase and need to generater the
firebase-options.dart
- For building the F-Droid version use
fdroid-submission
branch.
- Add support for more board sizes (e.g., 6x6, 7x7).
- Introduce leaderboards for online players.
- Add more theme options.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature-name
- Make your changes and commit:
git commit -m "Add feature name"
- Push to your branch:
git push origin feature-name
- Submit a pull request.
Enjoy playing Tic Tac Toe and challenge your friends to see who's the ultimate champion!