Skip to content

Commit

Permalink
fix: add missing caro win type ⬆️ 🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
Joker2770 committed Jul 24, 2024
1 parent 4f01f56 commit a6afa3d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/CaroJudge.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,14 @@ using namespace std;

const int WIN_SHAPES[][7] = {
{1, 1, 1, 1, 1, 0, 0},
{1, 1, 1, 1, 1, 0, 1},
{1, 1, 1, 1, 1, 0, 2},
{1, 1, 1, 1, 1, 0, 3},
{0, 1, 1, 1, 1, 1, 0},
{0, 0, 1, 1, 1, 1, 1},
{1, 0, 1, 1, 1, 1, 1},
{2, 0, 1, 1, 1, 1, 1},
{3, 0, 1, 1, 1, 1, 1},
{2, 1, 1, 1, 1, 1, 0},
{2, 1, 1, 1, 1, 1, 1},
{0, 1, 1, 1, 1, 1, 2},
Expand All @@ -55,8 +61,14 @@ const int WIN_SHAPES[][7] = {
{1, 1, 1, 1, 1, 1, 3},
{2, 1, 1, 1, 1, 1, 3},
{2, 2, 2, 2, 2, 0, 0},
{2, 2, 2, 2, 2, 0, 1},
{2, 2, 2, 2, 2, 0, 2},
{2, 2, 2, 2, 2, 0, 3},
{0, 2, 2, 2, 2, 2, 0},
{0, 0, 2, 2, 2, 2, 2},
{1, 0, 2, 2, 2, 2, 2},
{2, 0, 2, 2, 2, 2, 2},
{3, 0, 2, 2, 2, 2, 2},
{1, 2, 2, 2, 2, 2, 0},
{1, 2, 2, 2, 2, 2, 2},
{0, 2, 2, 2, 2, 2, 1},
Expand Down

0 comments on commit a6afa3d

Please sign in to comment.