can_countercapture(): Export interface
[pachi/t.git] / tactics / 2lib.h
blob844fe41faca629518595e9e6e8622159918e4b0e
1 #ifndef ZZGO_TACTICS_2LIB_H
2 #define ZZGO_TACTICS_2LIB_H
4 /* Two-liberty tactical checks (i.e. dealing with two-step capturing races,
5 * preventing atari). */
7 #include "board.h"
8 #include "debug.h"
10 struct move_queue;
12 void can_atari_group(struct board *b, group_t group, enum stone owner, enum stone to_play, struct move_queue *q, int tag, bool use_def_no_hopeless);
13 void group_2lib_check(struct board *b, group_t group, enum stone to_play, struct move_queue *q, int tag, bool use_miaisafe, bool use_def_no_hopeless);
15 #endif