Commit graph

64 commits

Author SHA1 Message Date
Bruno BELANYI 87473908cf Add 'Square' constructor from 'File', 'Rank' 2022-07-17 21:26:03 +02:00
Bruno BELANYI 77b15edc36 Don't return 'Bitboard' from 'Square::{file,rank}' 2022-07-17 21:26:03 +02:00
Bruno BELANYI bb04368f41 Add 'File' enum 2022-07-16 14:41:07 +02:00
Bruno BELANYI 4eff49f367 Add 'Rank' enum 2022-07-16 14:41:07 +02:00
Bruno BELANYI fdfc1fcf63 Add GDB pretty-printers 2022-07-16 14:41:07 +02:00
Bruno BELANYI 41903be143 Introduce 'Bitboard::ALL' 2022-07-16 14:41:07 +02:00
Bruno BELANYI bf71a5c205 Add Drone CI 2022-07-16 14:41:07 +02:00
Bruno BELANYI 3c157efe84 Add bitboard iteration
Introduce 'BitboardIterator', use it to implement 'IntoIterator' for
'Bitboard'.
2022-07-16 14:41:07 +02:00
Bruno BELANYI 4bc597439e Move 'board::bitboard' into folder module
I will be adding a 'BitboardIterator' type, and it makes more sense to
use a folder for this module at this point.
2022-07-16 14:41:07 +02:00
Bruno BELANYI 755e891b17 Add 'Bitboard' and 'Square' definitions 2022-07-16 14:41:07 +02:00
Bruno BELANYI 2c36ee266d Move binary crate into 'bin' folder 2022-07-15 21:32:39 +02:00
Bruno BELANYI 36656a6a40 Add generated files to git ignore 2022-07-15 19:57:21 +02:00
Bruno BELANYI 454267e4ad Add nix flake 2022-07-15 19:56:54 +02:00
Bruno BELANYI 2ad2927b14 Bootstrap build system 2022-07-15 19:56:01 +02:00