Ejemplo n.º 1
0
        public MainWindow()
        {
            InitializeComponent();
            SetLanguageDictionary();

            this.game = new SaperGame(mineField);
            this.game.setOptions(rows, cols, mines);
            this.game.SetReferences(labelMines, labelTimer, face);
            this.game.startGame();
        }
Ejemplo n.º 2
0
 static void Main()
 {
     using (var game = new SaperGame())
         game.Run();
 }