@ -30,13 +30,11 @@ namespace QwirkleClassLibrary
{
for (int i = 0; i < cells.Count; i++)
if (this.cells[i].GetX == x && this.cells[i].GetY == y)
if (this.cells[i].GetX != x || this.cells[i].GetY != y) continue;
if (cells[i].IsFree == true)
return cells[i].SetTile(tile);
}
return false;