About Order and Chaos
How to Play
Order and Chaos is a variant of tic-tac-toe for two players, played on a 6×6 board. The two players are called Order and Chaos.
On each turn, a player may place either an X or an O on any empty square — both players can use both pieces. The two sides have opposite goals:
- Order wins by getting five of the same piece in a row, horizontally, vertically, or diagonally.
- Chaos wins by filling the board without Order ever making five in a row.
Order moves first.
About the AI
Currently, I haven't bothered to make different AI levels. It only plays at the highest level it can. When the AI is Order, it can guarantee a win. When it's playing as Chaos, it uses minimax with alpha beta pruning, but at a low depth. If that doesn't find anything, then it switches to monte carlo tree simulation.
Learn More
See the Wikipedia article on Order and Chaos.