A very simple chess engine
Find a file
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
.woodpecker Bootstrap project 2024-04-01 22:20:39 +01:00
src Make 'half_move_clock' a 'u32' 2024-04-01 23:14:11 +01:00
utils/gdb Add 'print-board' GDB command 2024-04-01 22:20:39 +01:00
.envrc Bootstrap project 2024-04-01 22:20:39 +01:00
.gdbinit Add GDB pretty-printers 2024-04-01 22:20:39 +01:00
.gitignore Bootstrap project 2024-04-01 22:20:39 +01:00
Cargo.lock Bootstrap project 2024-04-01 22:20:39 +01:00
Cargo.toml Bootstrap project 2024-04-01 22:20:39 +01:00
flake.lock Bootstrap project 2024-04-01 22:20:39 +01:00
flake.nix Deny warnings in 'clippy' pre-commit hook 2024-04-01 22:20:39 +01:00