[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]
Single Comment
Another approach, if you are playing a game with checkmate, is to give Pawns a move that allows them to capture the opposing King, but only if they are in the required zone. Something like:
<p>
<i><pre>
(define Pawn-Win (
(verify (in-zone? king-capture))
a1
(while (not-position? OFF)
(if (and (piece? King) enemy?)
add
OFF
else
next
)
)
))
</pre></i>
<p>
Of course the win gets reported as a checkmate, which may or may not be good. (Above code not tested.)