BLitz
This commit is contained in:
parent
0f90e03e07
commit
f0624a501b
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue