Player X 0
Player O 0
Draws 0
Turn: Player X

Game Manual & AI Matrices

PvP (Local Pass & Play)

Grab a friend and duel on the same device. The matrix alternates turns automatically between Player X (Cyan) and Player O (Rose).

Casual AI Matrix

Perfect for a relaxed training session. The AI balances strategic defensive moves with occasional randomized tile selections.

Matrix Overlord (Minimax)

The ultimate strategic challenge. Powered by a mathematical Minimax algorithm exploring all possible game trees. It is mathematically unbeatable!

Game Mechanics & AI Logic

The Minimax Algorithm

When playing against the computer on the hardest difficulty, the game uses a classic decision rule called the Minimax algorithm. This AI strategy recursively simulates every possible future move on the board until the game ends. It assigns a score to each outcome (+10 for a win, -10 for a loss), and chooses the path that guarantees the optimal result.