Example #1
0
 protected GameTemplate(IGameInteraction interactionRealiztion)
 {
     gameInteraction = interactionRealiztion;
 }
Example #2
0
 public GuessNumberGame(IGameInteraction interactionRealiztion, IConfiguration configuration) : base(interactionRealiztion)
 {
     gameInteraction.ShowGameResponse(MessagesTemplates.Greetings);
     this.MinNumberValue = configuration.GetValue <int>("MinValue");
     this.MaxNumberValue = configuration.GetValue <int>("MaxValue");
 }