Skip to content
Snippets Groups Projects
Commit fba44f8f authored by DamianKomdeur's avatar DamianKomdeur
Browse files

Missing Bracket

Added missing bracket
parent 100ec1d0
No related branches found
Tags v1.32.3
No related merge requests found
...@@ -436,8 +436,8 @@ namespace PuzzlePlayer_Namespace ...@@ -436,8 +436,8 @@ namespace PuzzlePlayer_Namespace
int countRow = 0, countCol = 0; int countRow = 0, countCol = 0;
for (int i = 0; i < b.GetLength(0); i++) for (int i = 0; i < b.GetLength(0); i++)
{ {
if(b[i,y] == checkFor) countRow++; if (b[i, y] == checkFor) countRow++;
if(b[x,i] == checkFor) countCol++; if (b[x, i] == checkFor) countCol++;
} }
// if there are more counted then possible return false // if there are more counted then possible return false
...@@ -449,6 +449,7 @@ namespace PuzzlePlayer_Namespace ...@@ -449,6 +449,7 @@ namespace PuzzlePlayer_Namespace
return true; return true;
return false; return false;
}
public override void TileInput(Point p, int x) public override void TileInput(Point p, int x)
{ {
if (x==0 || x==1) boardState[p.X, p.Y] = x; if (x==0 || x==1) boardState[p.X, p.Y] = x;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment