stellar

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

zobrist.h (299B)


      1 #ifndef STELLAR_ZOBRIST_H
      2 #define STELLAR_ZOBRIST_H
      3 
      4 #include "board.h"
      5 
      6 void zobrist_init(void);
      7 U64 zobrist_hash(const Board *board);
      8 
      9 U64 zobrist_key_side(void);
     10 U64 zobrist_key_castle(int exp);
     11 U64 zobrist_key_enpassant(Square square);
     12 U64 zobrist_key_piece(Piece piece, Square square);
     13 
     14 #endif