[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]
Check out Janggi (Korean Chess), our featured variant for December, 2024.
Check out Janggi (Korean Chess), our featured variant for December, 2024.
So perhaps you should try the solution I suggested. Add yet another move-type, the highest of the three. To verify that the king is in check you could do like this, for instance (at least if it's white's move) :
a1
(while (on-board? r) ;correction: r
    (if (and (piece? King) friend?) (verify attacked?))
    r    Â ;r is the same as direction e except that h1 is connected with a2, etc.
)
/Mats