seer/src/board
Bruno BELANYI a4aa4ae1e4
All checks were successful
ci/woodpecker/push/check Pipeline was successful
Make 'half_move_clock' a 'u32'
It *could* be set to a high value due to e.g: starting the engine in the
middle of a game.

Moving from a `u8` to a `u32` does not change the size of the type, so
let's just do that.

Use that opportunity to fix the comment about the number of
*half-moves* (it's 50 moves *per player*).
2024-04-01 23:14:11 +01:00
..
bitboard Add 'TryInto<Square>' for 'Bitboard' 2024-04-01 22:20:39 +01:00
chess_board Make 'half_move_clock' a 'u32' 2024-04-01 23:14:11 +01:00
castle_rights.rs Add 'CastleRights::with_{king,queen}_side' 2024-04-01 22:20:39 +01:00
color.rs Add 'Color::third_rank' 2024-04-01 22:20:39 +01:00
direction.rs Add '*Assign' operators to 'Bitboard' 2024-04-01 22:20:39 +01:00
file.rs Add 'NUM_VARIANTS' constant to all 'board' enums 2024-04-01 22:20:39 +01:00
mod.rs Add 'ChessBoard' 2024-04-01 22:20:39 +01:00
move.rs Add 'Move' 2024-04-01 22:20:39 +01:00
piece.rs Add 'Piece' enum 2024-04-01 22:20:39 +01:00
rank.rs Add 'NUM_VARIANTS' constant to all 'board' enums 2024-04-01 22:20:39 +01:00
square.rs Remove spurious links in 'Square' documentation 2024-04-01 22:20:39 +01:00