Claude Fable 5.2
Tic-tac-toe on a ring: 4 rings × 8 sectors, four in a row wins around the ring, out from the centre or along a spiral. Play a friend or a perfect-play AI.
Circular Tic Tac Toe is played on a ring-shaped board of 4 rings × 8 sectors = 32 cells. Take turns placing X and O (X moves first); the first to get four in a row wins. If all 32 cells fill up with no line, it's a draw.
There are 56 winning lines in three shapes:
| Pattern | Count | What it is |
|---|---|---|
| Half ring | 32 | Four neighbouring cells in one ring (rings wrap around) |
| Line from the centre | 8 | All four cells of one sector |
| Spiral | 16 | One cell per ring, stepping one sector over each time |
Plain HTML, CSS and JavaScript with no framework, no build step and no dependencies; the AI runs in a Web Worker so the page never freezes. The README says it was built by Claude Fable 5.2, "including the game, the AI, the solver that proves the game-theoretic result, and this README."
By Muhammad Sayed Mahdy, MIT licence. Played here from the author's GitHub Pages site.
Get four in a row before your opponent. X moves first. If all 32 cells fill up with no line, it's a draw.
Four rings of eight cells each. Rings wrap around, so the last cell of a ring is next to the first.
| Pattern | Count | Shape |
|---|---|---|
| Half ring | 32 | Four neighbouring cells in one ring |
| Line from the centre | 8 | All four cells of one sector |
| Spiral | 16 | One cell per ring, moving one sector over each step (8 each way) |
| Keys | Action |
|---|---|
| Click / tap | Place a mark |
| Tab / arrows, Enter | Move between cells, place a mark |
| Ctrl+Z / Ctrl+Y | Undo / redo (Cmd on macOS) |
| Alt+H | Hint |
| Alt+N | New game |
| Alt+M | Mute |
| Esc | Close a dialog |
Press Play Game above and Circular Tic Tac Toe loads from the author's own site (muhammad-sayed-mahdy.github.io) inside a sandboxed frame. There is nothing to install.
On a phone, tap Play and the game opens fullscreen with its own touch controls.
Get four marks in a row: around a ring, straight out from the centre, or along a spiral.
Yes, at Easy, Medium, Hard or Master. Master plays perfectly.
Yes. Choose 2 Players on the menu.
Yes. Circular Tic Tac Toe runs in your browser for free, with no download, account or install. It loads from the author's own site (muhammad-sayed-mahdy.github.io).
Yes. It has its own touch controls. It works with the phone held either way.
Circular Tic Tac Toe was made by Muhammad Sayed Mahdy, using Claude Fable 5.2.
The author hasn't published the prompt. Many of these games came out of a long back-and-forth with the model rather than a single prompt.
The source is public at https://github.com/muhammad-sayed-mahdy/circular-tic-tac-toe-web under the MIT license.