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