From f0624a501b3877810e3f93c02552412d5c0cc597 Mon Sep 17 00:00:00 2001 From: Yash Shah Date: Thu, 22 May 2025 08:55:49 +0200 Subject: [PATCH] BLitz --- src/backend/Game.java | 2 +- src/windowInterface/MyInterface.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backend/Game.java b/src/backend/Game.java index 93b90b7..506f532 100644 --- a/src/backend/Game.java +++ b/src/backend/Game.java @@ -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(); } diff --git a/src/windowInterface/MyInterface.java b/src/windowInterface/MyInterface.java index 83f1637..1a5c8c8 100644 --- a/src/windowInterface/MyInterface.java +++ b/src/windowInterface/MyInterface.java @@ -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); }