Early Roguelike Collection
When shell variables are unexpectedly empty, 'test' gets the wrong number of arguments and becomes unhappy. Logical AND should not be done with 'test EXPR1 -a EXPR2' in such cases, because 'test' logic does not short-circuit. Replace with 'test EXPR1 && test EXPR2'. Shell logic does short-circuit, and if the first test invocation fails, the second will never occur, and will never encounter missing arguments. |
||
|---|---|---|
| arogue5 | ||
| rogue3 | ||
| rogue4 | ||
| rogue5 | ||
| srogue | ||
| README.txt | ||
This is the source for the Roguelike Gallery's versions of Rogue and other early roguelike games. The code was obtained from the Roguelike Restoration Project (rogue.rogueforge.net). Modifications have been made mainly for compatibility with the dgamelaunch online play system. Some bugs have also been fixed, and the build process slightly improved. The essential flavor of a codebase half as old as stored-program computing machinery remains unchanged. See the individual games' subdirectories for their documentation. The games can be played via SSH or the Web at rlgallery.org.