BREAKOUT (1K Wonders, ZX-81)
by Rod Hopkins
from Your Computer (June 1983), page 102

Crushing programs in the ZX-81's 1,000-byte memory vice is common enough.
But now Rod Hopkins turns it into a virtue with his fast machine-code games.

THESE TWO programs tease yet more out of the valiant 1K ZX-8l. Economy is a
vital point of good software, and is often synonymous with efficiency. Some
might argue that Sinclair's 1K machine has contributed more than any other
computer to developing this aspect of programming. Both programs have a
familiar general form, but boast a few extra features of interest.

The second program is a zippy version of Breakout. It has the considerable
advantage of showing you at the top left of the screen how many of the six
available balls have been used up, and at the same time displaying at the
bottom left the running score.

Scoring is at the rate of one point per outer brick of the double wall, two
for each of the inner bricks, giving a maximum score of 108. Any key, 1 to 5,
will move the bat down, while any of 6 to 0 moves it up. The score is updated
with each new ball. A single keypress restarts at the end of a game.

In Breakout, speed of play is in inverse proportion to the number stored at
location 16564. A value of 3 gives a very fast and difficult game; 12 is for
beginners.

Owners of 16K machines, incidentally, must first reset RAMtop before running
these programs. The following direct statements would serve:

	POKE 16389,69
	NEW
