Revert "play_random_game(): Re-add the first-move-tenuki-back test"
[pachi.git] / playout.h
blobe584dbe96352c7d0d7ecbc7a13f4d8bc8c49d7eb
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: starting_color wins, 0: starting_color loses
13 * -1: superko inside the game tree */
14 int play_random_game(struct board *b, enum stone starting_color, int gamelen, playout_policeman policeman, void *policy);
16 #endif