-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtest.cc
More file actions
33 lines (25 loc) · 674 Bytes
/
Copy pathtest.cc
File metadata and controls
33 lines (25 loc) · 674 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#include "amigo.h"
#include "kifu.h"
#include "policy.h"
#include "value.h"
#include "engine.h"
#include "boardfeatures.h"
int main(int argc, char** argv) {
std::string file_name("in.sgf");
if (argc == 2)
file_name = argv[1];
std::cout << file_name << '\n';
amigo::kifu k(file_name);
auto board = k.position_at(12);
board.draw();
amigo::boardfeatures f(board);
board.draw_layer(f.get_capture_ladders());
//amigo::engine e;
//e.make_shared_node_(board);
//e.think();
//for (auto& g : board.get_groups("white")){
// board.draw_layer(g.first);
// board.draw_layer(g.second);
//}
return 0;
}