16 lines
322 B
C
16 lines
322 B
C
#include "../include/chess.h"
|
|
|
|
int main(int argc, char *argv[]){
|
|
if(argc < 2){
|
|
exit(EXIT_FAILURE);
|
|
}
|
|
U64 state = rnd64(2);
|
|
ZHasher z;
|
|
z.init_state = state;
|
|
init_zhasher(&z);
|
|
Gamestate g;
|
|
parse_fen(argv[1],&g);
|
|
printf("\n%llu\n",generate_hash(&g,&z));
|
|
return EXIT_SUCCESS;
|
|
}
|