Пример #1
0
 public Engine(ScoreBoard board)
 {
     this.scoreBoard = board;
     this.guessCount = 0;
     this.cheats = new Cheat();
     this.theNumber = new GameNumber();
 }
Пример #2
0
 public Engine(ScoreBoard board)
 {
     this.scoreBoard = board;
     this.guessCount = 0;
     this.cheats     = new Cheat();
     this.theNumber  = new GameNumber();
 }
Пример #3
0
 private void ResetGameData()
 {
     Console.WriteLine();
     Printer.PrintWelcomeMessage();
     this.theNumber  = new GameNumber();
     this.cheats     = new Cheat();
     this.guessCount = 0;
 }
Пример #4
0
 private void ResetGameData()
 {
     Console.WriteLine();
     Printer.PrintWelcomeMessage();
     this.theNumber = new GameNumber();
     this.cheats = new Cheat();
     this.guessCount = 0;
 }