The player who surrounds the square box earns one point and takes another turn. The game ends when no more lines can be drawn.