The game ends when no more patterns can be made by either side. The player with the highest score is the winner.
The game concludes when a stalemate in pattern creation is reached, and the player with the most points at that point wins.