From f4fff5f2d426b47fed1b5b3a618ea1faf02ded43 Mon Sep 17 00:00:00 2001 From: Joker2770 <1214220480@qq.com> Date: Tue, 23 Jul 2024 18:06:16 +0800 Subject: [PATCH] fix: add missing renju type. :bug: --- src/renju.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/renju.cpp b/src/renju.cpp index 43a4d26..95a7184 100644 --- a/src/renju.cpp +++ b/src/renju.cpp @@ -175,7 +175,9 @@ int Renju::countA4(Board *board, const pair &p_drt) } } - if ((i_flag & 0x07) == 0x07) //'11101111' or '11110111' + if ((i_flag & 0x0F) == 0x0F) // '110111011' + i_count = 2; + else if ((i_flag & 0x07) == 0x07) //'11101111' or '11110111' i_count = 1; else if ((i_flag & 0x03) == 0x03) //'1011101', '10111101' i_count = 2;