Pictorial Check Log Out | Topics | Search
Moderators | Register | Edit Profile

Zillions of Games Discussion Forum » Desired Features for Zillions of Games » Pictorial Check « Previous Next »

Author Message
Doug Chatham (Doug)
Posted on Wednesday, July 02, 2003 - 1:53 pm:   

I'd like to make a ZRF for a game like Castlingmost Chess (see http://www.chessvariants.com/diffmove.dir/oomost-chess.html), where every move is a castle and you win if the opponent cannot get out of "pictorial check" (that is, the King would be checkmated in the position *if* the pieces moved as in ordinary chess.)

Is there a good way to check whether a piece is attacked (or checkmated) by ..er.. fake "pictorial" moves that cannot *actually* be made in the game?
Peter Aronson (Peteraronson)
Posted on Thursday, July 03, 2003 - 5:50 pm:   

Doug, since you want the game to end with a pictorial checkmate, all you have to do is to give all of the pieces their normal moves, but only allow them when it would result in a King's capture. Ie:


(define leap2 (
   $1 $2
(verify (and enemy? (piece? King)))
add
)

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: