Exemplo n.º 1
0
Arquivo: Form1.cs Projeto: 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();
        }