Exemple #1
0
 public BullsAndCowsGame(SecretGenerator secretGenerator)
 {
     this.CanContinue     = true;
     this.secretGenerator = secretGenerator;
     this.secret          = this.secretGenerator.GenerateSecret();
     Console.WriteLine(this.secret);
 }
Exemple #2
0
 public BullsAndCowsGame(SecretGenerator secretGenerator)
 {
     this.secretGenerator = secretGenerator;
     this.secret          = this.secretGenerator.GenerateSecret();
     CanContinue          = true;
     PlayCount            = 0;
 }
Exemple #3
0
 public BullsAndCowsGame(SecretGenerator secretGenerator)
 {
     this.secretGenerator = secretGenerator;
     this.secret          = this.secretGenerator.GenerateSecret();
 }
Exemple #4
0
 public BullsAndCowsGame(SecretGenerator secretGenerator)
 {
     this.secretGenerator = secretGenerator;
 }