aboutsummaryrefslogtreecommitdiff
path: root/flip.c
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2023-06-24 18:23:03 +0100
committerBen Harris <bjh21@bjh21.me.uk>2023-06-24 18:23:03 +0100
commitdd0004fb5ebb581eced0820cd6373f88e98d93e3 (patch)
tree21e4597807ed4c12c23eed4c37b2e5ebd2611795 /flip.c
parent1d565270144003e6f5406b208d4ab35a1ac14fcb (diff)
downloadpuzzles-dd0004fb5ebb581eced0820cd6373f88e98d93e3.zip
puzzles-dd0004fb5ebb581eced0820cd6373f88e98d93e3.tar.gz
puzzles-dd0004fb5ebb581eced0820cd6373f88e98d93e3.tar.bz2
puzzles-dd0004fb5ebb581eced0820cd6373f88e98d93e3.tar.xz
Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Dominosa
The only tricky bit is whether clicking precisely on the diagonal of a square (which never has any effect on the game) is MOVE_UNUSED or MOVE_NO_EFFECT. I decided that having single-pixel lines in the middle of the grid causing events to be passed back to the environment would be very confusing, so they're MOVE_NO_EFFECT. Clicking entirely outside the grid, on the other hand, returns MOVE_UNUSED.
Diffstat (limited to 'flip.c')
0 files changed, 0 insertions, 0 deletions