You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanna implement a piece but am not sure how to. This piece moves like a king, but when moving diagonally, it can be blocked from a square if it cannot reach that square in 2 wazir moves (1st wazir move can't be a capture). For example, it cannot move to its top-right square if its right square and top square are both occupied.
How can I implement this piece? More generally, can I implement a lame leaper that has to be blocked on more than 1 square? E.g. a knight that can move from (0, 0) to (1, 2) only if at least 1 square of (0, 1) and (1, 1) is empty.
The text was updated successfully, but these errors were encountered:
I wanna implement a piece but am not sure how to. This piece moves like a king, but when moving diagonally, it can be blocked from a square if it cannot reach that square in 2 wazir moves (1st wazir move can't be a capture). For example, it cannot move to its top-right square if its right square and top square are both occupied.
How can I implement this piece? More generally, can I implement a lame leaper that has to be blocked on more than 1 square? E.g. a knight that can move from (0, 0) to (1, 2) only if at least 1 square of (0, 1) and (1, 1) is empty.
The text was updated successfully, but these errors were encountered: