20.02.2013 Views

ZX Computings - OpenLibra

ZX Computings - OpenLibra

ZX Computings - OpenLibra

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SQUAREOLOGY<br />

J A Enness, Poole,<br />

Dorset, has written<br />

a well-documented<br />

program which<br />

plays a game based on the old<br />

favourite where two players take<br />

turns to link dots in a matrix, with<br />

each player trying to avoid placing<br />

a line in such a manner as to allow<br />

the other to complete a square. If<br />

a player completes a square, it is<br />

marked for the player, who then<br />

gets a second turn.<br />

In this version the player plays<br />

against the computer, and a<br />

pattern of lines is drawn up to<br />

start the game off at a more interesting<br />

level. The matrix is 1 2<br />

x 9 dots giving 195 possible<br />

moves, the score and "whose<br />

turn", etc is printed below. The<br />

pattern choice is not random in<br />

any manner and the same<br />

choice of pattern number will<br />

result in the same pattern.<br />

The patterns 1-9 will fill up<br />

60 or so moves in the matrix<br />

and then return to "Your<br />

move". Patterns from A-Z may<br />

or may not start with "Your<br />

move", and some squares may<br />

be "claimed" by the pattern.<br />

These will be marked with an<br />

"/" in the centre and are not<br />

counted on the score. If 0 is the<br />

choice of pattern then no pattern<br />

will be produced and the<br />

game will start with "Your<br />

move".<br />

124 <strong>ZX</strong> COMPUTING SUMMER 1982

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!