You are on the backup site for Chessvariants.com. Any posts, moves, or other changes you make here will not be permanent, because the pages and database from the main site will be backed up here every midnight EST. Additionally, things may not be working right, because this site is also a testbed for newer system software. So, if you are not here to test, develop, or merely read this site, you may want to change .org to .com in the navigation bar and go to the main site.



The Chess Variant Pages




[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

Forward Chess ZIP file. Download these files to play Forward Chess with Zillions of Games![All Comments] [Add Comment or Rating]
Anonymous wrote on 2004-02-05 UTC
Thanks, Peter. It finds and defends against these wins much better now.
The
macro I used, wtih comments:


(define King-forward (
$1
(verify not-friend?)
(if (in-zone? promotion-zone) 
	(verify not-attacked?) ; to prevent moving into check
	(if (in-zone? promotion-zone a1)
		(capture White-throne) ; dummy position with a white King
	else
		(capture Black-throne) ; dummy position with a Black King
	)
	add
else
   	(add-create) ; another macro to make the move and create a piece
; if appropriate. Your normal move goes here.
)
))