The game is won when there's a path between opposite sides of the board. The player owning those sides is the winner.
Back to the rules