Coordinates

Status: Final | May 2025

Two clarifications on the coordinate used:

  • Libipuz uses the format (row, column) to indicate a location on the board. ipuz files appear to store their coordinats as (x, y), which is the opposite of this. We swap the values when we load the file up, but this could be confusing when comparing IpuzCoord with the file.

  • The ipuz spec is inconsistent and unclear about whether the cell in the upper left corner is (0,0) or (1,1). We use (0,0) as the basis of our coordinate system, but other implementations of the spec use (1,1). Mitigation efforts for this mismatch are ongoing.