diff --git a/src/main/java/TicTacToe/TicTacToeGame.java b/src/main/java/TicTacToe/TicTacToeGame.java index 7b8fb5a..56f9dc9 100644 --- a/src/main/java/TicTacToe/TicTacToeGame.java +++ b/src/main/java/TicTacToe/TicTacToeGame.java @@ -88,7 +88,7 @@ public class TicTacToeGame extends JPanel { } turns++; - if(turns >= playFieldSize) { + if(turns > playFieldSize) { JOptionPane.showMessageDialog(getParent(),"Draw!"); scoreboard.addPoint(0); resetGame();