simon-git: puzzles (main): Ben Harris
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Fri Jun 23 16:15:38 BST 2023
TL;DR:
1d56527 Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Pegs
Repository: https://git.tartarus.org/simon/puzzles.git
On the web: https://git.tartarus.org/?p=simon/puzzles.git
Branch updated: main
Committer: Ben Harris <bjh21 at bjh21.me.uk>
Date: 2023-06-23 16:15:38
commit 1d565270144003e6f5406b208d4ab35a1ac14fcb
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=1d565270144003e6f5406b208d4ab35a1ac14fcb;hp=6db5cdadd09fad0c8373e32dcfc7ab5b8bcb74e6
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date: Fri Jun 23 16:14:38 2023 +0100
Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Pegs
Slightly more complicated than usual, because Pegs has irregularly
shaped grids so detecting whether a click is inside requires more than
just a range check.
Also fixed a typo in a nearby comment.
pegs.c | 33 ++++++++++++++++++++-------------
1 file changed, 20 insertions(+), 13 deletions(-)
More information about the tartarus-commits
mailing list