Stalemate question Log Out | Topics | Search
Moderators | Register | Edit Profile

Zillions of Games Discussion Forum » Designing Games for Zillions » Stalemate question « Previous Next »

Author Message
William Butler (Wgbutler)
New member
Username: Wgbutler

Post Number: 3
Registered: 5-2008
Posted on Saturday, September 20, 2008 - 8:36 pm:   

In a chess variant I've developed, it is theoretically possible to get into a situation where you are unable to move any of your pieces. In this situation I would like for that to be a loss instead of a stalemate.

Is there a way to get the Zillions engine to assign a defeat instead of a stalemate if a side is unable to move any of his pieces?
Greg Schmidt (Gschmidt2)
New member
Username: Gschmidt2

Post Number: 83
Registered: 1-2007
Posted on Saturday, September 20, 2008 - 10:06 pm:   

I found the following in the help file under the "stalemated" category:

; The Chaos side wins if he has no moves left
(win-condition (Chaos) stalemated)

; The Order side loses if he has no moves left
(loss-condition (Order) stalemated

-- Greg

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: