No description
Instead of inheriting the MakeMove and UnmakeMove traits by being a BoardProvider, implement bespoke versions of these two methods. This gives Position a chance to do some of its own work (tracking captures, move records, etc) when making a move. Pass the move record by reference to the unmake_move() method. Saves a copy. Export the Result types for MakeMove and UnmakeMove. |
||
|---|---|---|
| bitboard | ||
| board | ||
| core | ||
| doc | ||
| explorer | ||
| moves | ||
| position | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| ChessFriend.code-workspace | ||
| Makefile | ||