repo.or.cz
/
pachi.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Moggy: Implement assess method
[pachi.git]
/
engine.h
blob
faf71c751d9e596b8e87197eb71527a4c32b80f4
1
#ifndef ZZGO_ENGINE_H
2
#define ZZGO_ENGINE_H
3
4
#include
"move.h"
5
6
struct
board
;
7
struct
engine
;
8
9
typedef
coord_t
*(*
engine_genmove
)(
struct
engine
*
e
,
struct
board
*
b
,
enum
stone color
);
10
11
struct
engine
{
12
char
*
name
;
13
char
*
comment
;
14
engine_genmove genmove
;
15
void
*
data
;
16
};
17
18
#endif