fixed error in checkForWin method

This commit is contained in:
Leonardo Brandenberger 2021-10-09 12:50:10 +02:00
parent 5da16bb1d5
commit a7f7758eca
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ public class Game {
* @return bei erkanntem Gewinner true sonst false * @return bei erkanntem Gewinner true sonst false
*/ */
private boolean checkForWin() { private boolean checkForWin() {
if (checkWinVariants(1,4,9)) { if (checkWinVariants(1,4,7)) {
return true; return true;
} }
else if (checkWinVariants(2,5,8)) { else if (checkWinVariants(2,5,8)) {