Skip to content

Commit

Permalink
Fix #17
Browse files Browse the repository at this point in the history
  • Loading branch information
robske110 committed Apr 14, 2020
1 parent 09a4b14 commit bfd2fc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TicTacToe/src/robske_110/TTT/Game/Game.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ private function checkForWin(): bool{
return true;
}
if($this->map[2][0] !== "" && $this->map[2][0] === $this->map[1][1] && $this->map[2][0] === $this->map[0][2]){ #\
$this->end($this->getPlayerWithSymbol($this->map[0][0]));
$this->end($this->getPlayerWithSymbol($this->map[2][0]));
return true;
}
$isFull = true;
Expand Down

0 comments on commit bfd2fc2

Please sign in to comment.