Eric S. Raymond
c703bd78d9
Clean up logic for exiting input loop and scoring.
2017-05-24 11:16:59 -04:00
Eric S. Raymond
cf219e920b
Seed command fully implemented but apparently buggy.
...
Dwarf appearance is not yet reproducible.
2017-05-24 09:06:41 -04:00
Jason S. Ninneman
8a8770375e
Add seedable PRNG using an adaptation the original LCG algorithm.
2017-05-23 23:37:56 -07:00
Eric S. Raymond
dc9d9e467b
Input source is parametrized all the way down.
...
This means that, potentially, do_command() could be called on any text file
pointer and the right thing would happen.
2017-05-23 15:57:38 -04:00
Eric S. Raymond
040f19adde
Fix strange inside-out organization of the input routines.
...
Seems to have nbben a result of FORTRAN not having anything like a
stream object that can be passed around.
A step towards logging and log replay.
2017-05-22 21:26:14 -04:00
Eric S. Raymond
23f2dbe814
Replace fDATIME with ANSI/POSIX clock_gettime(). Rip out DOS/AMIGA shims.
...
The thinking here is that we simplify life by going pure ANSI/POSIX.
This is a text game. If it ever runs on anything but Unix again it's
almost certain to be on something like WSL that supplies a
POSIX-conformant text console.
2017-05-18 17:18:16 -04:00
Eric S. Raymond
24d7aeaf8a
Don Wood's 430-point Adventure 2.5 from 1995, from rec.games.int-fiction.
2017-02-16 11:59:50 -05:00