This commit is contained in:
Yash Shah 2025-05-22 08:55:49 +02:00
parent 0f90e03e07
commit f0624a501b
2 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ public class Game extends Thread {
public Game(MyInterface mjfParam) {
this.mjf = mjfParam;
this.board = new Board(COL_NUM, LINE_NUM);
this.clock = new ChessClock(5 * 60 * 1000, 2 * 1000); // 5 + 2 increment
this.clock = new ChessClock(3 * 60 * 1000, 2 * 1000); // 5 + 2 increment
this.activationAIFlags = new boolean[2];
this.aiPlayer = new AutoPlayer();
}

View File

@ -139,10 +139,10 @@ public class MyInterface extends JFrame {
panelDraw = new JPanelChessBoard(this);
contentPane.add(panelDraw, BorderLayout.CENTER);
whiteClockLabel = new JLabel("White: 5:00");
whiteClockLabel = new JLabel("White: 3:00");
panelTop.add(whiteClockLabel);
blackClockLabel = new JLabel("Black: 5:00");
blackClockLabel = new JLabel("Black: 3:00");
panelTop.add(blackClockLabel);
}