Browse Source

Added booleans for the player turn

master
TRC9696 2 years ago
parent
commit
6e4ee9ab7d
  1. 3
      src/main/java/game/StartTicTacToeGame.java

3
src/main/java/game/StartTicTacToeGame.java

@ -45,6 +45,9 @@ public class StartTicTacToeGame implements ActionListener{
boolean player2button8Pressed = false;
boolean player2button9Pressed = false;
boolean player1Turn = true;
boolean player2Turn = false;
static JLabel label = new JLabel();

Loading…
Cancel
Save