stellar

Stellar - Chess engine written in C
Log | Files | Refs

attacks.h (478B)


      1 #ifndef STELLAR_ATTACKS_H
      2 #define STELLAR_ATTACKS_H
      3 
      4 #include "utils.h"
      5 
      6 void attacks_init(void);
      7 
      8 U64 attacks_wpawn_get(Square square, U64 occupancy);
      9 U64 attacks_bpawn_get(Square square, U64 occupancy);
     10 U64 attacks_knight_get(Square square, U64 occupancy);
     11 U64 attakcs_king_get(Square square, U64 occupancy);
     12 U64 attacks_bishop_get(Square square, U64 occupancy);
     13 U64 attacks_rook_get(Square square, U64 occupancy);
     14 U64 attacks_queen_get(Square square, U64 occupancy);
     15 
     16 #endif