diff options
| author | Ben Harris <bjh21@bjh21.me.uk> | 2023-06-24 18:23:03 +0100 |
|---|---|---|
| committer | Ben Harris <bjh21@bjh21.me.uk> | 2023-06-24 18:23:03 +0100 |
| commit | dd0004fb5ebb581eced0820cd6373f88e98d93e3 (patch) | |
| tree | 21e4597807ed4c12c23eed4c37b2e5ebd2611795 /range.c | |
| parent | 1d565270144003e6f5406b208d4ab35a1ac14fcb (diff) | |
| download | puzzles-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 'range.c')
0 files changed, 0 insertions, 0 deletions