Commit graph

1695 commits

Author SHA1 Message Date
Eric S. Raymond
12d39ef72b Improve Makefile recipe for coverage testing. 2023-03-06 12:55:17 -05:00
Eric S. Raymond
1efd1027f7 Add test for interspersed non-motion command amidst magic words. 2023-03-04 20:26:13 -05:00
Eric S. Raymond
1121bb8aa5 NEWS and notes.adoc update. 2023-03-04 20:16:07 -05:00
Eric S. Raymond
a01c08385c Prevent a spurious coverage error. 2023-03-04 19:58:57 -05:00
Eric S. Raymond
643656fcc3 Complain to user on save/resume.restore when it's disabled. 2023-03-04 19:48:17 -05:00
Eric S. Raymond
ac0c5fc024 Document -a option. 2023-03-03 17:18:00 -05:00
Rob Swindell (on Debian Linux)
dfff80faa8 Add optional auto-save/restore feature using -a <filename> option
To enable use with online Bulletin Board Systems (BBSes) where users
may be disconnected unexpectedly, but would naturally want to resume
playing their same game, added support for an optional save game
path/filename to be specified on the command-line (very similar to
"-r <filename>"), except this save/restore file is:
1. automatically loaded/restored if it exists
2. automatically created when starting a new game
3. automatically updated when exiting a game for any reason
4. cannot be changed to a different path/filename by the user

Since a BBS server program can be expected to send a SIGHUP or SIGTERM
to the game process upon user disconnection (or timeout), those
signals are caught and a graceful termination will occur which saves
the current game state.

Build with ADVENT_AUTOSAVE defined to enable this option.

BUG:
The 'info' command still reports the save/suspend/pause commands as
valid, though they are not when this build option is used (same is
true of ADVENT_NOSAVE, and that doesn't apparently bother anyone).
2023-03-02 19:44:47 -08:00
Eric S. Raymond
426684fec2 Increase retrigressiveness of oldstyle a bit. 2023-03-01 17:46:13 -05:00
Eric S. Raymond
162c5abc8a Comment typo fix. 2023-03-01 16:03:13 -05:00
Eric S. Raymond
1f644a1d7d Don't crap out on failed diff. 2023-03-01 14:01:44 -05:00
Eric S. Raymond
17782cab67 Another comment typo fix. 2023-03-01 13:52:54 -05:00
Eric S. Raymond
94e7cc6505 Address Gitlab isse #62: Comment typos. 2023-03-01 13:04:53 -05:00
Eric S. Raymond
3f34adad3b Move pylint suppressions inline. 2023-02-28 19:46:50 -05:00
Eric S. Raymond
17c74326c1 Ready to ship 1.13. 2023-02-28 19:02:10 -05:00
Eric S. Raymond
b8c7a6d5ea cppcheck cleanup. 2023-02-28 18:55:12 -05:00
Eric S. Raymond
e5e6dbd741 NEWS update. 2023-02-28 18:40:40 -05:00
Eric S. Raymond
89266b7c1a Documerntation and comment polishing. 2023-02-28 17:05:37 -05:00
Eric S. Raymond
9a1b4d021e Improve message emission when player wins. 2023-02-28 15:10:54 -05:00
Eric S. Raymond
ff2dd31209 Update our tapview copy. 2023-02-28 15:04:42 -05:00
Eric S. Raymond
66b8192ae8 SPDXify generated code. 2023-02-28 14:55:40 -05:00
Eric S. Raymond
23e9931645 Prevent spurious error return. 2023-02-28 14:48:33 -05:00
Eric S. Raymond
20859304c0 Eliminate a bad code smell. 2023-02-28 06:45:24 -05:00
Eric S. Raymond
aa32e8f4d6 Add Ryan Sarson's 430-point win to the test suite. 2023-02-27 23:03:38 -05:00
Eric S. Raymond
60d7070506 Cleanup for current pylint. 2023-02-17 13:45:50 -05:00
Eric S. Raymond
a44ec19753 Documentation polishing. 2023-02-07 05:27:24 -05:00
Eric S. Raymond
9812b7a357 Comment improvements. 2023-02-07 04:55:59 -05:00
Eric S. Raymond
d9111efc68 Ready to ship 1.12 2023-02-06 17:03:34 -05:00
Eric S. Raymond
5e2614678b NEWS update. 2023-02-06 16:52:16 -05:00
Eric S. Raymond
0aead5634e Another typo fix. 2023-02-06 16:46:03 -05:00
Eric S. Raymond
7810888164 Experimental tweak of Docker image to try to fix manpage build. 2023-02-06 16:36:59 -05:00
Eric S. Raymond
aaaf0ac7d2 Typo fixes. 2023-02-06 16:03:38 -05:00
Eric S. Raymond
750cfe36d8 Fix for GitLab issue #59. 2022-10-21 11:21:58 -04:00
Eric S. Raymond
b6c0f5bff0 Add Patreon link. 2022-04-20 11:59:26 -04:00
Eric S. Raymond
e5d01c83f0 Remove ibsoletre constraint comment.
I think it became obsolete when we factored out state-change messages.
2022-04-20 11:32:02 -04:00
Eric S. Raymond
3dcf8449e5 In the grapher,add some room condition bits to clean up code. 2022-04-20 11:09:08 -04:00
Eric S. Raymond
3f3e114536 In the grapher, split forset from surface mode. 2022-04-20 07:15:18 -04:00
Eric S. Raymond
baab09e3ab py;imt cleanup. 2022-04-19 22:41:14 -04:00
Eric S. Raymond
81c7bb6d5b More grapher improvement. 2022-04-19 22:36:28 -04:00
Eric S. Raymond
c547f4498b Add verbose optionm to grapher. 2022-04-19 20:39:54 -04:00
Eric S. Raymond
74b1589b57 Various grapher improvements. 2022-04-19 19:48:35 -04:00
Eric S. Raymond
67a887f432 Magic-number elimination. 2022-04-19 17:07:46 -04:00
Eric S. Raymond
00c2182d9b Code cleanup. 2022-04-19 16:36:20 -04:00
Eric S. Raymond
9af3ab4ecd Improve comments. 2022-04-19 16:36:20 -04:00
Eric S. Raymond
017162da6e Declare the poject finished in the designer's notes. 2022-04-18 16:41:13 -04:00
Eric S. Raymond
648deb4770 Remove the TODo, last iten about lamp image is obsolerte
* We are aware that the lamp currently used as the project logo is a
hurricane lamp, not a proper miner's lamp. Submissions of potential
replacement images would be welcome.
The deleted TODO said:

* We are aware that the lamp currently used as the project logo is a
  hurricane lamp, not a proper miner's lamp. Submissions of potential
  replacement images would be welcome.

Further research using an image search on the web reveals that there
have been miners' lamps thart visually resemble outr hurricane-lamp
images pretty closely,  so we can keep using it.
2022-04-18 16:18:43 -04:00
Eric S. Raymond
156b39c34a Do full code validation before each release. 2022-04-18 14:47:01 -04:00
Eric S. Raymond
c71a4dc441 NEWS update, 2022-04-18 14:43:55 -04:00
Eric S. Raymond
732b581031 Remove an issue about dropping the vase, the drop code doesn't change state. 2022-04-18 13:57:29 -04:00
Eric S. Raymond
86e2e21ef8 Drop vase on pillow in well house and confirm that you get points for it. 2022-04-18 12:40:09 -04:00
Eric S. Raymond
3afaabead3 NEWS update.
After re-reading the code, I have concluded that the objective of making it
more typeful can be abandoned. The tyings typefulness could give us are
largely achieved.
2022-04-18 12:01:35 -04:00