GTP: Include board print in case of illegal move
[pachi.git] / playout.h
blob574c09a606076690e8c2e15c40fb9129c1ae3698
1 #ifndef ZZGO_PLAYOUT_H
2 #define ZZGO_PLAYOUT_H
4 struct board;
5 struct move;
6 enum stone;
9 typedef coord_t (*playout_policeman)(void *playout_policy, struct board *b, enum stone my_color);
12 /* 1: m->color wins, 0: m->color loses
13 * -1 superko at the root
14 * -2 superko inside the game tree (NOT at root, that's simply invalid move)
15 * -3 first move is multi-stone suicide */
16 int play_random_game(struct board *b, struct move *m, int gamelen, playout_policeman policeman, void *policy);
18 #endif