chiark / gitweb /
cube.c: Prohibit unsolvable single row/column game
authorMichael Quevillon <m.quevil@gmail.com>
Thu, 13 Sep 2018 04:19:32 +0000 (00:19 -0400)
committerSimon Tatham <anakin@pobox.com>
Thu, 13 Sep 2018 08:11:33 +0000 (09:11 +0100)
commit55be8e50db2c103850c95db879c02cd945c36d5f
tree0f40ca014e732195c650f4461f1818c8245473da
parent1db5961b8b0b9f55d8f56f1621f7e1c7041e9e9e
cube.c: Prohibit unsolvable single row/column game

For cube games, the minimum for any dimension should be 2, as there is
no net of the cube that is only one row/column. The previous logic
would permit a 1x7 game (for example) that could never be solved.
cube.c