https://github.com/fluttersmith/xo_game
https://github.com/fluttersmith/xo_game
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fluttersmith/xo_game
- Owner: FlutterSmith
- Created: 2025-02-01T19:10:06.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-02-01T20:13:51.000Z (3 months ago)
- Last Synced: 2025-02-01T20:25:11.454Z (3 months ago)
- Language: Dart
- Size: 63.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐งฉ Advanced XโO Game
๐ **Version:** 1.0.0
๐ **Last Updated:** [2, 2025]
๐ค **Author:** [Ahmed Hamdy]
๐ **Repository:** [(https://github.com/FlutterSmith)]---
## ๐ Overview
**Advanced XโO Game** is a featureโrich Tic Tac Toe application built with **Flutter**. It leverages the power of the **BLoC** pattern for state management, integrates an adaptive AI with multiple difficulty levels, and provides full undo/redo functionality along with persistent game history storage via **sqflite**. The app boasts an intuitive, dynamic UI with light/dark theme support, offering a modern and polished gaming experience.
โ **Player vs Player and Player vs Computer Modes**
โ **Adaptive AI** (Easy, Medium, Hard, Adaptive)
โ **Undo/Redo Moves with Persistent Game History**
โ **Sleek UI with Theme Switching**
---
## ๐ Features
### ๐ฎ Game Modes
โ **Player vs Player (PvP)** for local multiplayer
โ **Player vs Computer (PvC)** with sophisticated AI### ๐ค Adaptive AI
โ Multiple difficulty levels: **Easy**, **Medium**, **Hard**, and **Adaptive**
โ AI utilizes the minimax algorithm (with depth control) for challenging gameplay### ๐ Undo/Redo & Game History
โ **Undo** and **Redo** support for move corrections
โ **Persistent Game History** stored locally using **sqflite**### ๐จ Enhanced UI/UX
โ Responsive design with dynamic light/dark theming
โ Smooth animations and gradient backgrounds
โ Modern, iOS-inspired interface---
## ๐ ๏ธ Tech Stack
| Technology | Purpose |
|--------------------|---------------------------------------------------|
| **Flutter** | Crossโplatform mobile app development |
| **Dart** | Primary programming language |
| **BLoC** | State management and business logic handling |
| **sqflite** | Local persistence for game history |
| **flutter_bloc** | BLoC pattern integration with Flutter |
| **Equatable** | Simplifying value comparisons in state classes |---
## ๐ Installation
### ๐ Prerequisites
- โ **Flutter SDK** (Latest stable version)
- โ **Dart SDK** (Bundled with Flutter)
- โ **Android Studio / VS Code** (With Flutter extensions)### ๐ฆ Steps to Run
1๏ธโฃ **Clone the Repository**
```
git clone https://github.com/yourusername/advanced_xo_game.git
cd advanced_xo_game```
2๏ธโฃ Install Dependencies
```
flutter pub get
```
3๏ธโฃ Run the App
```
flutter run
```๐ Future Improvements
โ Custom Board Sizes & Win Conditionsโ Enhanced Animations & Sound Effects
โ Additional Game Modes & Online Leaderboards
โ Localization for Multiple Languages
๐ Contributors
DM me๐ License
This project is licensed under the MIT License. See the LICENSE file for details.๐ข Enjoy playing Advanced XโO Game! If you find this project helpful or exciting, please consider ๐ starring the repository and contributing to its ongoing development. ๐๐ฅ