chessfriend/position
Eryn Wells 942c758e15 [position] Calculate legal moves based on whether the king is in check
Use CheckingPieces to determine which and how many pieces check the king.

- If there are no checks, proceed with move generation as normal.
- If there is one checking piece, calculate push and capture masks and use those
   to generate legal moves.
- If there are more than one checking pieces, the only legal moves are king
  moves. Indicate this by setting the push and capture masks to EMPTY.
2024-02-02 08:05:37 -08:00
..
src [position] Calculate legal moves based on whether the king is in check 2024-02-02 08:05:37 -08:00
Cargo.lock Directly rename board -> position 2024-01-28 09:56:57 -08:00
Cargo.toml Directly rename board -> position 2024-01-28 09:56:57 -08:00