Basic rules
Board: 5×5 cells (25 total).
Moves: 16 moves — open 16 cells.
How to play
- Choose a mode: Avoid or Create.
- Click cells to reveal them with animation.
- AI highlights the best next move.
- Track statistics below the board.
- Click an opened cell to close it.
Tip
In Avoid mode, AI shows safe cells. In Create mode, it helps build a winning pattern.
Avoid Lines mode
Goal: Do not create any line of 5 cells.
AI strategy
- AI avoids cells that could create a line
- Highlights cells far from the center
- Prefers corner cells (they belong to only 3 lines)
Win conditions
Complete 16 moves without creating a line of 5 cells.
Create 5 Lines mode
Goal: Create 5 lines of 5 cells using one of 8 winning patterns.
Tip: Start from the center [2,2] and follow AI hints from the FIRST move!
AI strategy
- AI analyzes the board and chooses one of 8 winning patterns
- Highlights cells that approach the selected pattern
- Prefers central cells
Win conditions
Create 5 or more lines of 5 cells within 16 moves.
What counts as a line of 5 cells?
A line is 5 consecutive cells horizontally, vertically or diagonally.
Total possible lines on a 5×5 board:
- 5 horizontal (one per row)
- 5 vertical (one per column)
- 1 main diagonal (left to right)
- 1 anti-diagonal (right to left)
- Total: 12 possible lines