Merge pull request #50 from lemonsqueeze/can_countercap
[pachi.git] / tactics / nakade.h
blob55484fddd0d6b265599a85238ae397a68e31a4e4
1 #ifndef PACHI_TACTICS_NAKADE_H
2 #define PACHI_TACTICS_NAKADE_H
4 /* Piercing eyes. */
6 #include "board.h"
7 #include "debug.h"
9 /* Find an eye-piercing point within the @around area of empty board
10 * internal to group of color @color.
11 * Returns pass if the area is not a nakade shape or not internal. */
12 coord_t nakade_point(struct board *b, coord_t around, enum stone color);
14 /* big eyespace can be reduced to one eye */
15 bool nakade_dead_shape(struct board *b, coord_t around, enum stone color);
17 #endif