Bruno BELANYI
58d8743106
Use 'ChessBoard::occupancy'
2024-04-01 22:20:39 +01:00
Bruno BELANYI
d9e4f16ec8
Add 'ChessBoard::occupancy'
2024-04-01 22:20:39 +01:00
Bruno BELANYI
08ce3787df
Check kings' position in 'ChessBoard::is_valid'
2024-04-01 22:20:39 +01:00
Bruno BELANYI
bc67ee3e9a
Test 'ChessBoard::{do,undo}_move' machinery
2024-04-01 22:20:39 +01:00
Bruno BELANYI
c1419f0e44
Add FEN board parsing
...
Unfortunately, given that I *don't* want to expose all the `ChessBoard`
fields to the rest of the crate, this implementation will have to live
alongside its module instead of inside `crate::fen`...
2024-04-01 22:20:39 +01:00
Bruno BELANYI
3cd2601f07
Add 'ChessBoard::is_valid'
2024-04-01 22:20:39 +01:00
Bruno BELANYI
c112ddc4cd
Implement 'Default' for 'ChessBoard'
2024-04-01 22:20:39 +01:00
Bruno BELANYI
ce3ebf05ee
Add 'ChessBoard::{,un}do_move'
2024-04-01 22:20:39 +01:00
Bruno BELANYI
d44461e35c
Add 'ChessBoard'
2024-04-01 22:20:39 +01:00