home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
lisp
/
interpre
/
xlispplu
/
fun
/
kalah.txt
< prev
next >
Wrap
Text File
|
1987-06-02
|
1KB
|
21 lines
Kalah is played by two players (North and South). Each has six piles of stones
and a 'piggy-bank'. South's piggy-bank is at the right side of the two rows of
piles and North's piggy-bank is at the left side. The piles are numbered from
1 to 6 towards the piggy-banks (i.e. from right to left for North, and from
left right for South).
Each turn consist of choosing one of your (non-empty) piles and distributing
all the stones in that pile over the following piles (counter-clock-wise, in-
cluding your own piggy-bank and the opponent's piles, but excluding the
opponent's piggy-bank).
If you end up in one of your own empty piles and the opposite pile is not empty,
the last stone distributed and the opponent's stones in the opposite pile are
removed and put in your piggy-bank.
If you end up in your own piggy-bank, you have another turn (indicated by the
fact that your opponent has only one possible move, being 'SKIP' (which will be
done automatically).
When all piles of a player are empty, the contents of his opponent's piles are
put in the opponent's piggy-bank and the game is over. Who ever has the most
stones in his piggy-bank is the winner.
Note that you are a winner if you have more than 36 stones in your piggy-bank,
as there are 72 stones (6 in every pile).