A turn-based game is set on a square board of 9x9 cells. The computer starts each turn by randomly placing 3 balls of random color on the board.Then a player can move one ball to a different position to form a line of 5 or more balls of the same color.A ball can only be moved if there is a path of empty unoccupied cells between the starting and target positions.The game ends when there are no more empty cells.