Example #1
0
        /// <summary>
        /// The start normal game.
        /// </summary>
        private void StartNormalGame()
        {
            if (!Game.LoadBackup())
            {
                frmDifficulty formDifficulty = new frmDifficulty();
                formDifficulty.ShowDialog(this);
            }

            // Game.StartNormalGame();
            Game.PlayerToPlay.Clock.Stop();

            this.OrientBoard();
            this.RenderBoard();
            this.RenderClocks();
            this.SetFormState();
            this.timer.Start();
        }
Example #2
0
 /// <summary>
 /// The mnu difficulty_ click.
 /// </summary>
 /// <param name="sender">
 /// The sender.
 /// </param>
 /// <param name="e">
 /// The e.
 /// </param>
 private void mnuDifficulty_Click(object sender, EventArgs e)
 {
     frmDifficulty formDifficulty = new frmDifficulty();
     formDifficulty.ShowDialog(this);
     Game.SettingsUpdate();
 }
Example #3
0
 /// <summary>
 /// The new game.
 /// </summary>
 private void NewGame()
 {
     frmDifficulty formDifficulty = new frmDifficulty();
     formDifficulty.ShowDialog(this);
     if (formDifficulty.Confirmed)
     {
         Game.New();
     }
 }