From fba44f8fc6a1f6c1c97758774cb577e3c77520e5 Mon Sep 17 00:00:00 2001 From: DamianKomdeur <77113617+DamianKomdeur@users.noreply.github.com> Date: Mon, 2 Dec 2024 11:49:56 +0100 Subject: [PATCH] Missing Bracket Added missing bracket --- PuzzlePlayer/Binary.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/PuzzlePlayer/Binary.cs b/PuzzlePlayer/Binary.cs index 41fc11e..0f954f4 100644 --- a/PuzzlePlayer/Binary.cs +++ b/PuzzlePlayer/Binary.cs @@ -436,8 +436,8 @@ namespace PuzzlePlayer_Namespace int countRow = 0, countCol = 0; for (int i = 0; i < b.GetLength(0); i++) { - if(b[i,y] == checkFor) countRow++; - if(b[x,i] == checkFor) countCol++; + if (b[i, y] == checkFor) countRow++; + if (b[x, i] == checkFor) countCol++; } // if there are more counted then possible return false @@ -449,6 +449,7 @@ namespace PuzzlePlayer_Namespace return true; return false; + } public override void TileInput(Point p, int x) { if (x==0 || x==1) boardState[p.X, p.Y] = x; -- GitLab