[board] Implement KnightMoveGenerator
Use the generated knight_moves BitBoards from bitboard::MoveLibrary to generate knight moves. This commit doesn't yet implement computing bitboards for knight moves.
This commit is contained in:
parent
fb6fd27453
commit
b95c34f51e
4 changed files with 155 additions and 1 deletions
|
|
@ -18,14 +18,22 @@ impl Square {
|
|||
sq_constructor!(a2);
|
||||
sq_constructor!(b1);
|
||||
sq_constructor!(b2);
|
||||
sq_constructor!(c3);
|
||||
sq_constructor!(c5);
|
||||
sq_constructor!(d2);
|
||||
sq_constructor!(d3);
|
||||
sq_constructor!(d4);
|
||||
sq_constructor!(d5);
|
||||
sq_constructor!(d6);
|
||||
sq_constructor!(e2);
|
||||
sq_constructor!(e3);
|
||||
sq_constructor!(e4);
|
||||
sq_constructor!(e5);
|
||||
sq_constructor!(f2);
|
||||
sq_constructor!(f3);
|
||||
sq_constructor!(f4);
|
||||
sq_constructor!(f5);
|
||||
sq_constructor!(f6);
|
||||
sq_constructor!(g3);
|
||||
sq_constructor!(g5);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue