struct feature: Pack down; 24 bits is enough for payload
[pachi.git] / playout / light.c
blob53e7debe75b8b443e3c435cdc0290560a842f513
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 playout_setup *s, 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;