예제 #1
0
파일: Form1.cs 프로젝트: HLNN/Gomoku
        private void restart_for_new_game()
        {
            game      = new Game();
            forbidden = new Forbidden();
            global::Gomoku.ChessBoard.DrawCB(this, graphic, ChessBoard);

            timer1.Enabled       = false;
            black_time_all.Text  = "局时: 0秒";
            black_time_this.Text = "步时: 0秒";
            white_time_all.Text  = "局时: 0秒";
            white_time_this.Text = "步时: 0秒";

            Connect.new_game();
        }