private static void startNew() { //表示未结束 gameOver = false; //黑棋优先 isBlack = true; //将数组置为 新的数组 chesses = new Chess[SIZE * SIZE]; //计数器置为 0 count = 0; //删除面板中所有的棋子 pane.getChildren().removeIf(c -> c instanceof Circle); }