Commit 3fb07063 authored by YuFan Jia's avatar YuFan Jia 💤
Browse files

Merge branch 'Back' into 'Front'

feat(restart):

See merge request !12
parents 3f87e927 710fe631
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -53,6 +53,7 @@ public class GameCore {
        }
        intializeChess();
        currentPlayer = ChessPiece.BLACK;
        ChessGameUI.thisStatus.setCurrentPlayer(currentPlayer);
        countScore();
    }

+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ public class ChessGameUI extends JPanel {
	}

	private void restartButtonActionPerformed() {// restart按钮触发事件
		new ChessGameUI();
		thisGameCore.restart();
	}

	private void undoButtonActionPerformed() {// undo按钮触发事件