simon-git: puzzles (main): Ben Harris
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Wed Dec 7 00:44:00 GMT 2022
TL;DR:
a8df018 guess: Correct documentation to not say Space places a peg
14b434c guess: Move the cursor to the first peg position after a guess
09f2052 guess: Much more efficient keyboard interface
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: 2022-12-07 00:44:00
commit a8df0189ff9f49db04f9a33ae61bfcd1c1486c80
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=a8df0189ff9f49db04f9a33ae61bfcd1c1486c80;hp=7d61c4cee43984b05d8515fe5dcf0780a8fab10b
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date: Wed Dec 7 00:16:19 2022 +0000
guess: Correct documentation to not say Space places a peg
It sets a hold now, as is mentioned in the next sentence.
puzzles.but | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 14b434cb88d192a4a5cb2306115dec28cc69e714
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=14b434cb88d192a4a5cb2306115dec28cc69e714;hp=a8df0189ff9f49db04f9a33ae61bfcd1c1486c80
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date: Wed Dec 7 00:17:08 2022 +0000
guess: Move the cursor to the first peg position after a guess
It's annoying having to move it to the left each time. I suppose I
could enter the second guess in reverse order, but then I'd need to move
the cursor all the way to the right to submit it, which is just as bad.
guess.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 09f2052fbfbc8a2136b09cf3a868c8cf9c239de0
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=09f2052fbfbc8a2136b09cf3a868c8cf9c239de0;hp=14b434cb88d192a4a5cb2306115dec28cc69e714
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date: Wed Dec 7 00:18:56 2022 +0000
guess: Much more efficient keyboard interface
Now rather than mucking around with the cursor keys, you can just type a
four-digit number and press Enter. Of course, if you still want to muck
around with the cursor keys they work the same as before.
Since Backspace was already assigned to clear the peg under the cursor,
I haven't co-opted it for the obvious action of clearing the peg to the
left of the cursor and moving the cursor left. The left arrow key is a
reasonable alternative anyway.
For consistency, 'L' now labels the pegs with numbers rather than
letters, and is documented.
guess.c | 14 ++++++++++++--
puzzles.but | 5 +++++
2 files changed, 17 insertions(+), 2 deletions(-)
More information about the tartarus-commits
mailing list