public MainWindow() { InitializeComponent(); SetLanguageDictionary(); this.game = new SaperGame(mineField); this.game.setOptions(rows, cols, mines); this.game.SetReferences(labelMines, labelTimer, face); this.game.startGame(); }
static void Main() { using (var game = new SaperGame()) game.Run(); }