time_stop_conditions() TT_TOTAL: Clean up recommended_time setpu
[pachi/json.git] / playout / light.c
blob99922465598842ad704fa4eff76a104a09ef67e9
1 #include <assert.h>
2 #include <stdio.h>
3 #include <stdlib.h>
5 #include "board.h"
6 #include "debug.h"
7 #include "playout.h"
8 #include "playout/light.h"
9 #include "random.h"
12 #define PLDEBUGL(n) DEBUGL_(p->debug_level, n)
15 coord_t
16 playout_light_choose(struct playout_policy *p, struct board *b, enum stone to_play)
18 return pass;
22 struct playout_policy *
23 playout_light_init(char *arg)
25 struct playout_policy *p = calloc(1, sizeof(*p));
26 p->choose = playout_light_choose;
28 if (arg)
29 fprintf(stderr, "playout-light: This policy does not accept arguments (%s)\n", arg);
31 return p;