Pentago is a two-player abstract strategy game. The game is played on a 6x6 board divided into four 3x3 sub-boards. Taking turns, each player places a marble of their color (black or white) onto an unoccupied space on the board, and then rotates one of the sub-boards by 90 degrees either clockwise or counter-clockwise. A player wins by getting five of their marbles in a vertical, horizontal or diagonal row (either before or after the sub-board rotation in their move). If all 36 spaces on the board are occupied without a row of five being formed, then the game is a draw.