Check out Atomic Chess, our featured variant for November, 2024.


[ 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

how do you program a non-capture move[Subject Thread] [Add Response]
Daniel Zacharias wrote on Sat, Jul 20 02:55 PM UTC in reply to wdtr2 from 09:48 AM:

Does this work?

def White_Elephant checkleap #0 #1 2 2 or and checkaleap #0 #1 0 -1 empty where #0 0 -1; 
def White_Elephant-Range mergeall leaps #0 2 2 where #0 0 -1;

def Black_Elephant checkleap #0 #1 2 2 or and checkaleap #0 #1 0 1 empty where #0 0 1; 
def Black_Elephant-Range mergeall leaps #0 2 2 where #0 0 1;