diff options
Diffstat (limited to 'src/board.h')
-rw-r--r-- | src/board.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/board.h b/src/board.h index c9d8153..11b0c71 100644 --- a/src/board.h +++ b/src/board.h @@ -11,6 +11,7 @@ #define KING 0b1010 typedef U64 Bitboard; +#define BIT (U64)1 typedef struct { Bitboard pieces[12]; @@ -56,6 +57,7 @@ static const char* pieces[] = { }; void precompute_knight_attack_table(); +void precompute_king_attack_table(); void print_bitboard(Bitboard bb); int pop_count(Bitboard bb); void print_board(Board board); |