- Ensure you cannot move a pawn to the last rank without a promotion move. - Ensure a pawn cannot make an illegal move, and that the board state remains as it was before the move was attempted. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.lock | ||
| Cargo.toml | ||
- Ensure you cannot move a pawn to the last rank without a promotion move. - Ensure a pawn cannot make an illegal move, and that the board state remains as it was before the move was attempted. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.lock | ||
| Cargo.toml | ||