The purpose of this branch is to create a version of the game from
before the bug fixes, refactoring, and logic changes. We want this so
we can run it against our 100% coverage test suite and see all changes
in behavior.
This branch is forked from the point where the prompt and the oldstyle
option were added. At this point there had been only two logic
changes:
1. Do initialization of the LCG with gettimeofday(). Note that
this change will not affectt regression testing, since the
initialization done in this way will nbe overridden in the
logs by seed commands.
2. Refactor the input routines to a normal Unixy organization.
This is required for the -l option to work.
This commit just builds the binary at advent430 where it
won't collide with the production version.
The all-capsing was a FORTRAN remnant.Also, we change a few FORTRANisms
so they are less confusing in this C context; ".TRUE." and ".FALSE." become
"true" and "false", "MOD" is mapped to % in places tha t are like C expressions
and (usually) "modulo" in places that aren't.
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.