gochatai/pachi_py/pachi/tactics/1lib.c
/* Note that @to_play is important; e.g. consider snapback, it's good
 * to play at the last liberty by attacker, but not defender. */
Note that @to_play is important; e.g. consider snapback, it's good
to play at the last liberty by attacker, but not defender.
Note that @to_play is important ; e . g . consider snapback it ' s good to play at the last liberty by attacker but not defender .
static inline __attribute__((always_inline)) bool
capturable_group(struct board *b, enum stone capturer, coord_t c,
		 enum stone to_play)
{
	group_t g = group_at(b, c);
	if (likely(board_at(b, c) != stone_other(capturer)
	           || board_group_info(b, g).libs > 1))
		return false;
	return can_play_on_lib(b, g, to_play);
}
static inline __attribute__ ( ( always_inline ) ) bool capturable_group ( struct board * b , enum stone capturer , coord_t c , enum stone to_play ) { group_t g = group_at ( b , c ) ; if ( likely ( board_at ( b , c ) != stone_other ( capturer ) || board_group_info ( b , g ) . libs > 1 ) ) return false ; return can_play_on_lib ( b , g , to_play ) ; }
Note that @to_play is important; e.g.
Note that @to_play is important ; e . g .