Commit graph

3 commits

Author SHA1 Message Date
Bruno BELANYI a4aa4ae1e4 Make 'half_move_clock' a 'u32'
All checks were successful
ci/woodpecker/push/check Pipeline was successful
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
Bruno BELANYI f4764f2174 Use turn counts in 'ChessBoardBuilder'
This makes more sense from a user's perspective.
2024-04-01 22:48:55 +01:00
Bruno BELANYI 1cf05b5f55 Add 'ChessBoardBuilder' 2024-04-01 22:20:39 +01:00