fixed error in checkForWin method

This commit is contained in:
Leonardo Brandenberger committed 2021-10-09 12:50:10 +02:00
1 parent 5da16bb1d5
commit a7f7758eca
1 file changed
+1 -1
+1 -1
View File
@@ -89,7 +89,7 @@ public class Game {
* @return bei erkanntem Gewinner true sonst false
*/
private boolean checkForWin() {
if (checkWinVariants(1,4,9)) {
if (checkWinVariants(1,4,7)) {
return true;
}
else if (checkWinVariants(2,5,8)) {