|
@ -25,6 +25,16 @@ public class StartTicTacToeGame implements ActionListener{ |
|
|
static JButton button9 = new JButton(); |
|
|
static JButton button9 = new JButton(); |
|
|
static JButton backButton = new JButton(); |
|
|
static JButton backButton = new JButton(); |
|
|
|
|
|
|
|
|
|
|
|
boolean player1buttonPressed = false; |
|
|
|
|
|
boolean player1button2Pressed = false; |
|
|
|
|
|
boolean player1button3Pressed = false; |
|
|
|
|
|
boolean player1button4Pressed = false; |
|
|
|
|
|
boolean player1button5Pressed = false; |
|
|
|
|
|
boolean player1button6Pressed = false; |
|
|
|
|
|
boolean player1button7Pressed = false; |
|
|
|
|
|
boolean player1button8Pressed = false; |
|
|
|
|
|
boolean player1button9Pressed = false; |
|
|
|
|
|
|
|
|
static JLabel label = new JLabel(); |
|
|
static JLabel label = new JLabel(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -107,6 +117,8 @@ public class StartTicTacToeGame implements ActionListener{ |
|
|
backButton.setFont(new Font("arial", Font.PLAIN, 16)); |
|
|
backButton.setFont(new Font("arial", Font.PLAIN, 16)); |
|
|
backButton.setText("Zurück"); |
|
|
backButton.setText("Zurück"); |
|
|
gui.Frame.add(backButton); |
|
|
gui.Frame.add(backButton); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|