Check out Janggi (Korean 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

PawnX: new modest vatiant[Subject Thread] [Add Response]
M Winther wrote on Tue, Dec 4, 2012 08:23 AM UTC:
Matteo, sorry for the belated reply. Of course, you must jump out of the loop as soon as you find the king, so you should write:
(while (and (on-board? next) (not-flag? found))...

The parse error is that you write (verify found?). It should be (verify (flag? found)).
/Mats