Skip to content

About

CyberTacToe โ€” Cyberpunk-themed interactive Tic Tac Toe game built with Flutter, custom particle effects, tactile haptics, and unbeatable Minimax AI.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

๐ŸŽฎ CyberTacToe

Neon Cyberpunk Tic Tac Toe with Unbeatable Minimax AI Engine

Flutter Dart AI Platform License Maintained

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.


โšก Highlights & Engineering Features

  • ๐Ÿง  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.

๐Ÿ—๏ธ Architecture Overview

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

๐Ÿš€ Quick Start

Prerequisites

  • 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 run

๐Ÿ‘จโ€๐Ÿ’ป Author

Engineered by Akash Deep (0xOpCode). Connect on LinkedIn.

About

CyberTacToe โ€” Cyberpunk-themed interactive Tic Tac Toe game built with Flutter, custom particle effects, tactile haptics, and unbeatable Minimax AI.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages