========
Dominoes
========
Document created by rstuart@ukonline.co.uk on 22nd Nov 99 for
World of Spectrum: http://www.void.demon.nl/spectrum.html
Taken from the CDS compilation 'The Complete Home Entertainment Centre'.
DOMINOES is the computer version of the popular pub game. Included in this
program are Domino Out and Fives and Threes. Quick thinking and strategy are
needed to get to 61 points to beat a canny opponent.
Loading Instructions

All the programs will load in 48K Basic mode using LOAD"".
The Game

There are twenty eight dominoes in a set, and each is divided in half by a
line. Within each half, the surface is either blank or marked by dots,
ranging in number from one to six. Seven of the dominoes are doubles, with
the same values on either side of the line, ranging from double blank to
double six. The rest have different combinations of values, for example, 65;
41; 30.
Of the many variations on the game, all share the same central objective;
to get rid of all your hand of dominoes before your opponents can get rid
of theirs.
This program contains two of the most popular versions of the game; DOMINO
OUT and FIVES AND THREES.
Domino Out

The computer will shuffle the dominoes and draw seven for itself and seven
for you. The leading player places any domino from his hand face up in the
centre of the table. The other player then has to follow suit, butting the
half of a matching domino against the appropriate half of the lead player's
domino, and so on. The dominos are laid end to end.
If, a player cannot follow suit it is called 'knocking' and allows his
opponent to take another turn  until he can follow suit. Play ends when
one player has used all his dominoes.
The looser counts the dots on the dominoes he still holds, and the total
number is passed to the winner as his score for that hand.
Where both players cannot follow suit each counts the dots in their hands,
the winner being the one with the fewest. He scores the points difference
between the two hands.
A points total of 61 is set as the winning total. After each hand all the
dominoes are shuffled again, and each player takes turns to start.
Fives and Threes

The object of the game is the same as in Domino Out i.e. to clear your hand
of dominoes using the normal rules.
However, the scoring is done on a move by move basis. When any piece is
placed, the combined value of the dominoes at each end is divided by five
or three (or both). This value is added to your score. For example points
scored are calculated as follows:
Combined value Points scored
10 Divide by 5 = 2
9 Divide by 3 = 3
8 Not divisible by 5 or 3 = 0
15 Divide by 5 = 3
and Divide by 3 = 5
============ =====
Total scored 8
A bonus point is scored by the first player to get rid of all seven dominoes.
[ ] [ ] [ ] [3] [3] [4] [4]
[ ] [ ] [ ] [0] [3] [0] [4]

1 2 3 4 5 6 7

Press 4 to play this domino.
KEYS
1  7 Play respective domino
SPACE Knocking
If the domino can be played at eather end the computer will ask which end
you prefer. This is selected by pressing A or B.