[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]
Single Comment
Er, sorry to disagree Ken, but look at your slide macros again. They all start with ($1 $1, which is a move of two squares. As currently implemented, there is no way for a sliding piece to move a single square.
<p>
Also, it's still a bit unclear to me what's intended with the slide moves, but I, think, from your latest statement a sliding piece can make one of the following three moves in a legal direction:
<ul>
<li>A non-capturing single step;
<li>A non-capturing leap of two squares;
<li>A capturing leap of two squares.
</ul>
Is that correct?
If that's the case, then nt-slide for example ought to be something like:
<blockquote><pre>
(define nt-slide (
$1
(if empty? add)
$1
(verify empty?)
add
))
</pre></blockquote>