Skip to content

Version 1.2.1

Latest
Compare
Choose a tag to compare
@Arc676 Arc676 released this 19 Sep 12:50
· 1 commit to master since this release

Fixes an edge case with square control: if both players control the exact same number of squares1, then the current player (whoever made the last move) wins. This is because their opponent makes the first move within the regions with tied areas and will therefore exhaust their empty squares first.

This release also adds a winner-checking function to the library, moving the game termination check from the frontend to the backend. Note the updated description of this function in 8b4589a.

1: This scenario can be achieved, for example, on 2x3 grid with the following input/moves starting from game launch (no standard configuration followed by all required inputs).

n 1 1 2 3 0 0 1 2 0 0 1 0 1 1 1 2 0 2 0 1