HEXPAWN

This is a simple and fairly trivial game involving 6 chess
pawns. While being a fairly trivial game, it does provide a
small degree of challenge and is one of those brief games
that to some extent serves as a distraction or time passer to
change your thoughts if you have been concentrating hard on
something else.

The game is based on a 9 square board with you and the
computer starting with three pawns on opposite ends of the
board. Pieces move one square forward to a blank square, or
capture by takling an opposing pawn one square diagonally
left or right, like a chess pawn capture.

Most games will only last a few moves - the last player able
to move wins. The game includes a rudimentary learning
mechanism which tries to learn which move leads to victory
and which to a loss, so the more games you play in a single
session, the better the computer should play.

Hexpawn requires pointer environment and Toolkit 2. It is a
QLiberator compiled BASIC program, which comes in two
versions, one of which includes compiler runtimes
(hexpawn_rtm) and another which is about 10 kilobytes shorter
but does not include compiler runtimes (hexpawn_obj).

+---------------------------------+
| [MOVE]      HEXPAWN       [ESC] |
|---------------------------------|
|                                 |
|  0 1 2      C  C  C   Your move |
|                                 |
|  3 4 5      .  .  .   My move   |
|                                 |
|  6 7 8      H  H  H             |
|                                 |
|          [  New game  ]         |
|                                 |
+---------------------------------+

Your pawns are the black ones, the computer's pawns are red.
The board consist of a 3x3 square in the centre. You always
move first, so the first thing to do is to click on one of
the three pawns along the bottom of the screen.

The diagram on the left shows which key to press if you are
playing the game with the keyboard rather than mouse - keys 0
to 8 are used. Press the key corresponding to the square from
which a pawn is being moved and then the key corresponding to
the square to which the pawn is to be moved, e.g. your first
move may be 7 4 if you are moving the central pawn one square
forward. If you are using a mouse then of course you can
simply click on the pawn to be moved. That pawn is then
'carried' until you click on another square where it is to be
moved to. You can use either left or right mouse key.

The moves are shown in the red box on the right. At the end
of each game, whoever won is shown along with the total score
for this session. If you wish to play another game, click on
the New Game icon which appears at the bottom, or if you wish
to quit from the game hit or do on the [ X ] or ESC icon at
the top right. The double square symbol at the top left is
the usual [Move] icon to let you move the display around the
screen.

