fixed error in checkForWin method
This commit is contained in:
parent
5da16bb1d5
commit
a7f7758eca
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue