public GameWindow(string difficulty) { InitializeComponent(); // chosenWord = WordChooser.ChooseWord(difficulty); gamePlayBusiness = new GamePlayBusiness(WordChooser.ChooseWord(difficulty)); lblHiddenWord.Text = gamePlayBusiness.HiddenWord; playedChars = new List <char>(); }
public RankedGameWindow(string difficulty) { InitializeComponent(); this.difficulty = difficulty; gamePlayBusiness = new GamePlayBusiness(WordChooser.ChooseWord(difficulty)); lblHiddenWord.Text = gamePlayBusiness.HiddenWord; points = 0; timer = new TimerForPoints(); }