BOMB DISPOSAL (1K ZX81)
By Roger Brooks, Binton Green, Warwickshire
from Your Computer, December 1981, Page 79

The article on games applications for the ZX-80/81 in the August/September
issue by Tim Hartnell prompted me to write this program which only just fits
into 1K. The program maps the top left-hand corner of the screen with a
10-by-10 matrix. In it lies a point which corresponds to the location of a
bomb. By entering various points in the normal co-ordinate fashion, values
are printed which give an indication to where it is.

Obviously, a large number of values will lead to easy locations and so the
score is weighted accordingly and printed after the bomb has been diffused.

Those with 16K RAM packs can modify this program to include more elaborate
Print statements and a combination problem to be solved before the bomb is
diffused.

One tip I find useful when programming is the use of keywords in print
statements. They save the valuable memory space in the ZX-81.

The words above the keys can be entered by the K cursor mode then editing,
placing words if necessary in front. Theose words in red can be entered by
simply pressing shift, and it is this which must be used in line 19 - the
word STOP.
