The game ends when a player or team completes 2 sequences. Sequences of the same color may intersect, but only at a single position. There is a setting in the waiting room in which you can change the number of sequences you have to complete if you want to win the game, if you play with three teams it is advised to set it to 1 Sequence.