Ejemplo n.º 1
0
 public GameWindow(string word, int one)
 {
     InitializeComponent();
     // chosenWord = WordChooser.ChooseWord(difficulty);
     gamePlayBusiness   = new GamePlayBusiness(word);
     lblHiddenWord.Text = gamePlayBusiness.HiddenWord;
     playedChars        = new List <char>();
 }
Ejemplo n.º 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();
 }