%OP%JUY
%OP%PL64
%OP%BM6
%OP%HE\.\\\
%OP%FO\\\.\
%CO:A,6,74%
%C%2, Richmond Close
%C%Bletcley;  Bucks. MK3 7TS
%C%England
%C%Phone: 0908 642758


%C%%H2%"C O D E - B R E A K E R"%H2%
                        =======================


%JL%This Z88 game is based on the long-established "Mastermind" game, and was 
%JL%written for my own amusement on dark and stormy nights in far away places  
%JR%- such as Bangkok and Manila, where an itinerant male has nothing better 
%JL%to do! As far as I know, my Z88 game does not infringe anyone's 
%JR%copyright, but this has not been adequately checked and I am offering the 
%JL%game only to fellow Z88 Users Club members on a "free of charge" basis on 
the understanding that it is used only for non-commercial amusement.

%JR%The idea is to break the four-digit code of randomly-generated numbers; 
%JL%the easiest game uses numbers from 1 to 4, and the most difficult uses 
%JR%from 1 to 8; a number can appear in the code more than once.  After a 
%JR%line (of four "guesses") has been entered, the player is told how many of 
%JL%the four numbers are THE RIGHT NUMBER IN THE RIGHT COLUMN, and how many 
%JR%are THE RIGHT NUMBER IN THE WRONG COLUMN.  The player has up to six lines 
to crack the code.

%JR%The score for a game depends on (1) the level of difficulty, (2) the 
%JL%number of lines used to crack the code, and (3) the time taken.  The 
%JR%scores for up to eight players are recorded for the last five games, the 
%JL%average for those five games(Av5), and the highest Av5 for each player 
(Hi5).  

%JL%When the BASIC program (CB1) is loaded FOR THE FIRST TIME, enter the 
%JR%command %H2%GOTO 9999%H2%  - this creates a data file (CBDATA) which collects the 
score data.  Once this data file is created, its updating is automatic.

%JR%For each line of guesses, a "scratchpad" is available for the player to 
make notes and develop ideas; it is accessed by pressing the %H2%.>%H2% key.

%JL%The += key provides a shortcut, at the end of a game, to retain the same 
player's name and level of difficulty.

%JR%Apart from the amusement afforded to players, the program itself will 
%JL%have any proficient programmer in tears  - either of laughter or despair 
%JR%at the thought that anyone could due such cruel things to the good old 
BASIC lingo.  Crude it may be, but it works  - some of the time!

%C%HAVE A NICE DAY !

George I Whiston
%CO:B,3,68%%CO:C,3,65%%CO:D,3,62%%CO:E,3,59%%CO:F,60,56%