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