Players have to take turns joining two horizontally or vertically adjacent dots by a line. A player that completes the fourth side of a square (a box) wins that box and must play next move. When all boxes have been taken, the game ends and the player who has maximum boxes wins. You are playing against the Devil Computer.