| For the game "Dama" aka "Turkish Checkers" aka "Turkish Draughts"
already some ZRF programs are at the Zillions web site,
but none of this program/variants does work correctly.
For example in the following I describe the bugs in the zrf
for the variant "Turkish Checkers" in the "Checkers.zrf"
that comes from the distribution of ZoG 2.01:
- An obsolete part in the loss-conditions:
| ...
| (loss-condition (Red Black)
| (and (pieces-remaining 1 Checker)
| (pieces-remaining 0 King)
| (not (total-piece-count 0 King))
| )
| )
- The rules allow the Kings 180? turns in multiple jumps.
This is forbidden.
- When a Checker (unpromoted piece) captures to the
promotion-zone it always becomes a King and the move
terminates. But there are rare cases, where the Checker
in the promotion-zone could continue to jump (unpromoted!),
so the rules should test this, because series of captures
have to be done until to their ends.
- In some mysteriouse cases the "maximal capture" condition
will not be fullfilled. This bug seems not to result from
an error in the zrf but in the Zillions engine itself.
An example:
Black to move in the following position:
Black Checkers at a2, b3, c2, c3, c4, e2, g2;
Red Checkers at c5, c6.
After 1. c3-d3 the wrong answer is 1... c5xc3xa3xa1
The correct answer should be: 1... c5xc3xe3xg3xg1
I made a new ZRF ("Dama-rules.zrf") that avoids the bugs 1 to 3,
and by a stroke of good fortune I also found a version of it
where the bug 4 seems not to occur further. But there is no
guarantee that this kind of error is eliminated completely.
In some cases I observed that Zillions as computer player preferred
an illegal move but allows a human players to enter a correct
capture sequence.
Also I changed the name of players and their turn-order from
Black/Red to White/Black.
With this new ZRF as an include file I did some applications:
- "Dama.zrf": To play games of Dama.
- "Dama-collection.zrf": A Collection of 70 positions that
have combinatorical solutions. Solutions are included.
Sources came from Koksal Karakusk's web site
"http://www.geocities.com/karakusk/dama/indexe.html".
- "Dama-collection2.zrf": A Collection of 16 famous problems
(with solutions) from the web site
"http://games.groups.yahoo.com/group/turkishdraughtsdamaclub/files/Bilim Teknik/" (login required)
|