golddig - Getting the Gold and Avoiding Death
golddig |
[-l level]
[-s speed]
[-i input-script]
[-o output-script]
[world] |
golddig
is a fast action game designed for use with the
X window system.
The goal in golddig
is to pick up all the
gold pieces and then go to the next level without getting eaten by one of
the bad guys. The gold pieces are distinctive small circular coins. After
picking up all of the gold, the player must get to an open door or the top
row of the level. After accomplishing this, the game will start the next
level.
The -l
option sets the level number for
starting the game. This may be any integer greater than 0. By default, the
game starts at level 1. The -s
options sets the game
speed. A value of 1 is very slow and a value of 10 is fast. The default
value is 5. The world option is used to select a world
name. A world is a distinct set of numbered levels. Any valid file name may
be used as the world name. Different worlds may be used to allow users to
control private sets of levels. The -i
and
-o
options assign player movement input and output
scripts. These can be used for building solutions to levels. The script
controls only player movement. The bad guy movement has been made to be
completely deterministic. The scripts can be edited or concatenated, but
they are not in a particularly intelligible form. By taking input from one
script and simultaneously sending output to another script, a new script can
be generated which starts as the old script and has new commands appended to
it.
When playing golddig
the following
keyboard commands may be used:
<space>,R11 - stop
a,j,left arrow - move left
d,l,right arrow - move right
w,i,up arrow - move up
s,k,down arrow - move down
z,<,q,u,R13 - make hole left
x,>,e,o,R15 - make hole right
r,y,R7 - put down any held item
1-9 - change the game speed during the game
In addition, some control keys can be used:
^S,^Z - freeze the game
^Q,^Y - reactivate the game
^C,^U,^\ - kill the game
^R - redraw the level
The mouse must be placed in the game window to use the keyboard
commands. When a level starts, everything is frozen, and any key will start
the game.
~/.golddig - local directory for levels. Searched first.
/usr/local/share/golddig - global directory for levels
accessible by all players.
/usr/local/share/golddig/goldlev### - default levels
used when no world name is specified.
/usr/local/share/golddig/default - default level used
when specified level doesn't exist.
/var/games/golddig.scores - high score list
Alex Siegel at Cornell University during 1989 and 1990.
This game is the first totally bug free program ever written.