XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX  MINES  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                             for the HP49/HP49+

MINES is a reprogramming of the famous HP48-game MINEHUNT. It is half as big
but twice as comfortable, and it solves its main problem: spontaneous garbage
collection during the game. It has a new library command for setting the number
of mines and toggling hidden/visible mines. No need for a global variable Nmines
anymore, and no disturbing LIBDAT in the menu if the game is suspended with STO.
MINES is very fast on the 49+. Tested in ROM 19.6 and the HP49+ ROM 1.22. 
----------------------------------------------------------------------
NEW in version 7.2003
MINSE below 2 KB. Problems with the buggy 49+ sound effects fixed. 

NEW in version 6.2002
MINEHUNT in 2 versions. A second library command is added, see below.

NEW in version 2.2002
No disturbing garbage collection anymore during the game. STO hides a not yet
finished game outside the current directory. Sound effects added.
----------------------------------------------------------------------
You are standing in the upper-left corner of an 8 x 16 battlefield grid. Your goal
is to isolate the invisible mines by creating largest possible mine-free areas and
to travel safely to the lower-right corner. The title row tells you how many mines
are under the 8 squares adjacent to your position. The larger the mine-free area the
higher the score. Use number or arrow keys to cross the battlefield, one square at a
time. 7, 9, 1, 3 move diagonally, 8, 6, 2, 4 work like the arrow keys. CANCEL aborts
as usual. STO suspends a running game and saves it. When you next start MINES, the
suspended game will be resumed to bring it to an end or to store it again.

You can change the number of mines in the battlefield by pressing the command SetX.
The default is 20 hidden mines as displayed in the command line. Overwrite it as you
like with any numer, and ENTER your setting. At most 64 mines are admissable. The sign
of the number can be toggled with the +/- key. If negative, the mines are visible during
the game. A game with about 50 visible mines presents a really attractive labyrinth game
not only for newbees and children (which may not yet draw optimal conclusions from the
adjacent-mines count in the header).  

REMARK. If you want the MINES game include into GAMES on the APPS key, load a recent
APPSman version and store a list in APAR8 containing the lib-commands Mines and SetX.
Or add them to the list in APAR8 if already existent. Another possibility is add the
item { MINES 292 TMENU } to APAR8. A third possibility is to load TETRI which creates
the GAMES category in APPS and to procede as above. A fourth possibility is to load
Libman and to create an extra page for games when pressing on the LIB key. 

MINESHUNT was first ported from the HO48 to the HP49 by D. Lidstrm. Our version uses
parts of this porting, in particular various built-in messages like "You made it!!"

HINT for experts: Both the signed numer of mines and a suspended game data are stored
in the Hidden Directory in the variables VPAR and PPAR, normally not used there.
--------------------------------------------------------------------------
 Wolfgang Rautenberg, raut@math.fu-berlin.de  www.math.fu-berlin.de/usr/raut 