Example #1
0
        public MainWindow()
        {
            InitializeComponent();

            game = new LightsOutGame();
            CreateGrid();
            DrawGrid();
        }
Example #2
0
        public MainWindow()
        {
            InitializeComponent();

            gameLogic           = new LightsOutGame();
            SizeThree.IsChecked = true;
            CreateGrid();
            DrawGrid();
        }
 public MainWindow()
 {
     game = new LightsOutGame();
     InitializeComponent();
     CreateGrid();
     DrawGrid();
     exitButton.IsEnabled = false;
     exitButton.Opacity   = .5;
 }