A high-polish, futuristic re-imagining of Tic Tac Toe built with Flutter. Featuring custom particle animations, tactile interactions, game telemetry, and an algorithmic Minimax adversary.
- ๐ง Algorithmic Minimax AI: Built-in game decision tree evaluating optimal moves with zero latency โ completely unbeatable on maximum difficulty.
- ๐๏ธ Adaptive Difficulty Engine: Switch effortlessly between Casual, Challenging, and Cybernetic (Unbeatable Minimax) game modes.
- โจ Cyberpunk Visual Experience: High-contrast neon glows, dynamic particle confetti celebrations, and fluid tactile cell animations.
- ๐ Match Analytics & History: In-memory session telemetry tracking win/loss ratios, streaks, and match logs.
- ๐ฑ Responsive Architecture: Built with clean Flutter state separation (
models/,screens/,widgets/,ai/) ensuring 60fps rendering across mobile screens and tablets.
lib/
โโโ ai/
โ โโโ minimax.dart # Recursive Minimax decision tree solver
โโโ models/
โ โโโ ai_difficulty.dart # Difficulty state machine
โ โโโ game_record.dart # Match history data structures
โ โโโ game_state.dart # Game loop & win-check evaluators
โโโ screens/
โ โโโ home_screen.dart # Neon cyber menu & mode select
โ โโโ game_screen.dart # Active arena viewport
โโโ widgets/
โโโ board_widget.dart # Dynamic 3x3 grid
โโโ cell_widget.dart # Neon glowing cells with touch triggers
โโโ confetti_widget.dart # Vector particle emitter
โโโ score_board.dart # Live head-to-head telemetry
- Flutter SDK (
^3.0.0) - Dart SDK (
^3.0.0)
# Clone the repository
git clone https://github.com/0xOpCode/cybertactoe.git
cd cybertactoe
# Fetch Flutter dependencies
flutter pub get
# Launch on connected emulator / device
flutter runEngineered by Akash Deep (0xOpCode). Connect on LinkedIn.