Bruno BELANYI
585c127381
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 22:20:39 +01:00
Bruno BELANYI
c177d13b75
Use 'Square::index' in 'Square::{file,rank}_index'
2024-04-01 22:20:39 +01:00
Bruno BELANYI
281c79556a
Add 'Square::index'
2024-04-01 22:20:39 +01:00
Bruno BELANYI
6501466d3e
Add 'Square' constructor from 'File', 'Rank'
2024-04-01 22:20:39 +01:00
Bruno BELANYI
c3c3684150
Don't return 'Bitboard' from 'Square::{file,rank}'
2024-04-01 22:20:39 +01:00
Bruno BELANYI
015485a4c5
Add 'Bitboard' and 'Square' definitions
2024-04-01 22:20:39 +01:00