FIVE Grumpies are standing behind a wall. Can you find out what colours they are and their order? You can choose how many different colours the Grumpies may be and you can have up to 10 guesses.
Pressing one of the number keys places a coloured Smiley and DEL will delete the last one. When you have entered a row of five Smileys your guess is marked. A black peg is given for the right colour in the right place, and a white peg for the right colour in the wrong place.
Many of you will have guessed the game it is based on. If you haven't it is very easy to learn and great fun to play, but frustrating when you can't work out the code!
The program is fully structured with no confusing GOTOs. Lines 30 to 50 run the program, calling the various subroutines when necessary. Each of the subroutines has been labelled with a REM statement and they are separated by lines with a single colon.