Example #1
0
        private void CleverBruteForceButton_Click(object sender, EventArgs e)
        {
            var numberOfWrongMoves = _game.CleverBruteForce();

            using var g = this.CreateGraphics();
            g.Clear(this.BackColor);
            _gameDrawer.Draw(g);

            MessageBox.Show($"Number of wrong moves was {numberOfWrongMoves}.");
        }