UCT: Do not read behind second pass on passed last move
[pachi.git] / playout.h
blob946050d2fe11be7e34667451150983b38eb53bb1
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, coord_t last_move, 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, coord_t second_to_last_coord, playout_policeman policeman, void *policy);
16 #endif