Skip to content

Commit

Permalink
fix: add missing renju type. 🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
Joker2770 committed Jul 23, 2024
1 parent 17f5998 commit f4fff5f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/renju.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,9 @@ int Renju::countA4(Board *board, const pair<int, int> &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;
Expand Down

0 comments on commit f4fff5f

Please sign in to comment.