SCRABBLE BOARD (16K ZX-81)
by Robin Thompson
from ZX Computing (December 1985/January 1986), pages 106-110

Robin Thompson takes the tedium out of the game with this ZX81 version for
2-4 players.

On RUNing, the program will ask how many people are to play, and will
request their names. There will then be a brief pause while the board is set
up and displayed. Instructions will be printed, and the game will commence,
ending when all the letters have been used and no-one can continue.

Please note that the program has no facilities for correcting a mistake in
the players' input, so care must be taken when typing in words.


LINE BY LINE

1 to 85      initialisation of variables and instructions.
86 to 170    print the scores, who is next to play, their letters, and
inputting
             coordinates for letters on the board.
171 to 130   work out the coordinates for letters on the board.
311 to 318   bonus score of 50 points when a player uses all seven letters
in
             one go.
319 to 502   check for double or triple word score, print out score, and
prepare
             for next player's turn.

Subroutines
3000         checks to see if your letters are next to any others on the
board,
             and adds the necessary score.
3800         POKEs your letter onto the screen.
4000         allocates new letters, and prints them on screen.
5000         Endgame routine. Works out who scored most, and prints out
scores.
6000         initialises the array that is to hold the players' letters.
7000         works out if player gets double or triple word-score.
8000         initialises the array that holds the board.
9000         asks how many players there are, asks their names, and DIMs
arrays
             to hold their scores, names and letters.
9500         prints out the board.
9900         routines used when all the letters have been used. Play
continues
             until no-one can go.
9998         program SAVEd so that it autoruns.
