Both players may place either an X or an O on any empty square each turn. Order (gold) wins by getting five of the same symbol in a row — horizontally, vertically, or diagonally. Chaos (purple) wins if the board fills with no five in a row, or if five in a row becomes impossible anywhere on the board.