Beispiel #1
0
 public GuessingGame(
     RandomNumber targetNumber,
     IGuessFactory guessFactory
     )
 {
     _targetNumber = targetNumber;
     _guessFactory = guessFactory;
 }
Beispiel #2
0
 public LocalGuessingGame(
     RandomNumber targetNumber,
     IGuessFactory guessFactory,
     ILogger <LocalGuessingGame> logger
     )
 {
     _targetNumber = targetNumber;
     _guessFactory = guessFactory;
     _logger       = logger;
     GameId        = Guid.NewGuid().ToString();
 }