Pieces Remaining Goal Log Out | Topics | Search
Moderators | Register | Edit Profile

Zillions of Games Discussion Forum » Designing Games for Zillions » Pieces Remaining Goal « Previous Next »

Author Message
Steve Warner (Ceratopsian)
New member
Username: Ceratopsian

Post Number: 8
Registered: 12-2007
Posted on Friday, January 18, 2008 - 8:29 am:   

The following command should force a draw when either side is reduced to one piece:

(draw-condition (White Black) (pieces-remaining 1))

In the Basic Game of Chaos (the first game I created) it works just fine. But it's not working properly in my Intermediate Game. I suspect that this is because I needed to add dummy positions for each piece. Instead of capturing pieces I move them to these dummy positions so that they can be resurrected later.

I thought that the following command would rectify the problem but it doesn't:

(option "include off-pieces" false)

Any ideas how to fix the problem? Are the dummy positions cauing the problem or could it be something else?
M Winther (Kalroten)
New member
Username: Kalroten

Post Number: 52
Registered: 1-2007
Posted on Friday, January 18, 2008 - 11:33 am:   

(option "include off-pieces" false) relates to pieces not yet dropped. This is a somewhat strange rule because in chess variants mating capability is what counts. But there is really no reason to bother about forcing a draw when only one piece is left because the player can decide that it is a draw himself, without the aid of the computer.

Mats

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: