1 #ifndef ZZGO_JOSEKI_BASE_H
2 #define ZZGO_JOSEKI_BASE_H
6 /* Single joseki situation - moves for S_BLACK-1, S_WHITE-1. */
7 struct joseki_pattern
{
8 /* moves[] is a pass-terminated list or NULL */
12 #define joseki_hash_bits 20 // 8M w/ 32-bit pointers
13 #define joseki_hash_mask ((1 << joseki_hash_bits) - 1)
14 extern struct joseki_pattern joseki_pats
[];
16 void joseki_load(void);