Hacker News new | ask | show | jobs
by seabass 2004 days ago
--that a piece of yours could attack, I believe, not move to
1 comments

I just checked and if you want to be technical it's "move to normally, could move to during a capture if a piece was there, or holds a piece you could capture".

Pawns are the only case that where those three are different but they see all three:

- directly in front (move)

- forward-diagonal (normal attack)

- horizonal exactly only in the case of a enemy pawn moved to that square last turn that can be taken en-passant (capture). That square goes dark if you move another piece.