a6f4e7e686
Statically assert zero-cost invariants
...
Since some or all of those invariants will come in handy to ensure we
use as little memory as possible, to maximize the speed of the move
generation later on.
2024-04-01 12:21:33 +01:00
8e2b7c1714
Use 'Square::index' in 'Square::{file,rank}_index'
2024-04-01 12:21:33 +01:00
be5d2831bd
Add 'Square::index'
2024-04-01 12:21:33 +01:00
f873b64f15
Add 'Square' constructor from 'File', 'Rank'
2024-04-01 12:21:33 +01:00
47e4e77f6c
Don't return 'Bitboard' from 'Square::{file,rank}'
2024-04-01 12:21:33 +01:00
98efd390a6
Add 'Bitboard' and 'Square' definitions
2024-03-29 01:06:14 +00:00