Circular
Tic Tac Toe
Not your childhood tic tac toe. The hard version, for people who think ahead — four in a row around the ring, out from the centre, or along a spiral.
The board has 4 rings and 8 sectors — 32 cells. Players take turns placing a mark (X goes first) on any empty cell. The first to get four in a row wins. If the board fills up with no winner, it’s a draw.
There are 56 winning patterns of four kinds:
Only if you move first. This game is solved: the first player can always force a win by opening on the innermost (or outermost) ring. Master knows that win — when it plays X it wins every single game, guaranteed (checked against every possible defence). When you play X, a winning line exists for you, but you have to find it: one slip and Master takes over.
Circular Tic Tac Toe is a hard tic tac toe for people who think ahead. The ordinary 3×3 game is trivial: with sensible play it always ends in a draw. Here the idea is the same — get your marks in a row — but the board has 32 cells and 56 ways to win, every cell sits on seven of them, rings wrap around so there are no safe edges, and the spirals are easy to miss. The game is a forced win for whoever moves first, but finding it means building double threats several moves ahead. Beating a friend takes real planning; beating Master takes a lot more.
Free and open source, no install, and it works offline after your first visit. View the code, report a bug or star the project on GitHub.