Guess Word 5 Game
by Mike Whiteman

This is a game for two players. The object of the game is to guess a
five letter word in four goes or less. If the word is not guessed within
four goes, the opponent is given the fifth guess.

Initially a menu is displayed containing four options:

 1. Enter the two players' names
 2. Play the game
 3. Turn Sound On/Off
 4. Quit

Play cannot start until the players' names have been entered. Choosing
option 1 displays a 'QWERTY' type keyboard, from which a name can be
entered by clicking Select over the appropriate letter. Up to seven
letters may be used for each name. Clicking over 'Delete' restarts the
entry for that name. Clicking over 'Return' confirms the entry. The
names may be altered by reselecting option 1 from the menu. Throughout
the game the button must be clicked with the pointer over the actual
letter, not just the plinth.

Playing the game:

A word is selected at random from the dictionary (which contains 2874
5-letter words with no 'S' plurals and no proper names). The first
letter of the word to be found is always given and is displayed in
green. Each subsequent letter chosen by the player is displayed on the
right-hand side of the screen on red plinths. A letter may be deleted
(except the first) by using the delete plinth at the bottom of the
screen. Once you are happy with your selection, click over the 'Return'
plinth.

The left-hand side of the screen displays the result as follows. Any
letters that have been placed in the correct position are coloured green
and those that appear in the word but are placed wrongly appear in red.
The display (both left and right) automatically shows the correctly
placed letters in green. These cannot now be over-written.

The player has four attempts to solve the word, scoring five points if
the word is guessed on the first attempt, down to 2 points on the fourth
attempt. If the word is not guessed within four attempts, the fifth
attempt goes to the opponent, who scores one point if he guesses the
word correctly.

If you enter a choice of letters already used then they will be ignored.

The winner is the first person to reach 30 Points (this can be altered
by changing the variable target% in line 1245).

You can quit by clicking over the 'Quit' plinth at any time, which
returns you to the Menu. You can then reset the players names, turn the
sound on/off or leave the program.

You can see the current scores at any time by clicking Select over the
blue plinth at the bottom of the screen showing who's playing. This will
change to an orange colour and each score will be displayed for 4 seconds
