From a7f7758eca7bf1a64a2e83035aac993f420c4f70 Mon Sep 17 00:00:00 2001 From: Leonardo Brandenberger Date: Sat, 9 Oct 2021 12:50:10 +0200 Subject: [PATCH] fixed error in checkForWin method --- src/Game.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Game.java b/src/Game.java index d3165ee..6718540 100644 --- a/src/Game.java +++ b/src/Game.java @@ -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)) {