Exemple #1
0
 public Game()
 {
     Board = new char[5, 5];
     SpellChecker = new SpellChecker(@"words.txt");
     for (int i = 0; i < 5; i++)
         for (int j = 0; j < 5; j++)
         {
             Board[i, j] = ' ';
         }
     var balda = "балда";
     for (int i = 0; i < 5; i++)
     {
         Board[2, i] = balda[i];
     }
     GameState = GameState.Initial;
     ChosenLetters = new bool[5, 5];
 }