The "maximal capture" problem Log Out | Topics | Search
Moderators | Register | Edit Profile

Zillions of Games Discussion Forum » Designing Games for Zillions » The "maximal capture" problem « Previous Next »

Author Message
Mats Winther (M_winther)
New member
Username: M_winther

Post Number: 1
Registered: 5-2017
Posted on Sunday, May 07, 2017 - 1:29 pm:   

Some have reported that Zillions sometimes violates the "maximal capture" instruction (i.e. that one must capture the line with the maximum number of pieces in checkers type games). But it can be circumvented by using "add-partial nomove-type", rather than simply terminating the move. One declares nomove-type as a move type in the move block. But nomove-type has no moves declared, so when calling (add-partial nomove-type) the move terminates. This solves the "maximal capture" problem, for some reason. (It could occur when one capturing line ends in promotion.)

Mats
http://mlwi.magix.net/bg/index.htm

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: