is_selfatari() nakade: If falsifying eyes, don't do that with >2 stones
[pachi/json.git] / engine.h
blob74959a3f461a157b441ebb8e4374ba8ce98cdf4c
1 #ifndef ZZGO_ENGINE_H
2 #define ZZGO_ENGINE_H
4 #include "move.h"
6 struct board;
7 struct engine;
9 typedef void (*engine_notify_play)(struct engine *e, struct board *b, struct move *m);
10 typedef coord_t *(*engine_genmove)(struct engine *e, struct board *b, enum stone color);
12 struct engine {
13 char *name;
14 char *comment;
15 engine_notify_play notify_play;
16 engine_genmove genmove;
17 void *data;
20 #endif