9 typedef coord_t (*playout_policeman
)(void *playout_policy
, struct board
*b
, enum stone my_color
);
11 /* Record of the random playout - for each intersection:
12 * S_NONE: This move was never played
13 * S_BLACK: This move was played by black first
14 * S_WHITE: This move was played by white first
16 struct playout_amafmap
{
17 enum stone
*map
; // [b->size2]
21 /* 1: starting_color wins, 0: starting_color loses
22 * -1: superko inside the game tree */
23 int play_random_game(struct board
*b
, enum stone starting_color
, int gamelen
, struct playout_amafmap
*amafmap
, playout_policeman policeman
, void *policy
);