Ultimate Tic Tac Toe
Tic-tac-toe inside tic-tac-toe. Pick a cat and try to outthink it.
Game
Choose your rival
How to play
An ultimate tic tac toe game with a bot that uses Monte Carlo tree search over the whole board. Before each move it plays out thousands of quick random games from the current position and picks the move that wins most often, so it weighs where each move sends you, not just the sub-grid in front of it. Each difficulty is a different cat: Jinx plays at random, Pluto runs a few hundred games per move, and Ninja runs up to thirty thousand. Pluto and Ninja show how sure they are of a win as they play.
Rules: Alternating turns. One large 3x3 grid contains a smaller sub-grid in each square. To start you may choose to move in any square in any grid. Then the AI can choose a move only in the sub-grid corresponding to the location inside the sub-grid of your previous move. Once a sub-grid is won by a player that sub-game is complete and is claimed by the winning player. If a player is sent to a sub-grid that is already won or drawn then that player may move in any sub-grid. A player winning three sub-grids in a row, column, or diagonal wins the match.
For example, if your first move is in the center of the top-left grid, then the AI may move in any space in the center grid. If the AI chooses the bottom-right square in the center grid then your next move must be in the bottom-right grid. The game continues like this.
The sub-grid you must play in has a green border, and its open cells are lit green. The last move has a white outline. Switching rivals or pressing New game starts over.
