zzgo.c: Add verbose_logs variable to avoid huge logs.
[pachi.git] / playout / light.c
blob992e94d916fbf5569a549f5cd5d585eea1ebd666
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, struct board *b)
25 struct playout_policy *p = calloc2(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;