public GameRunner(IOverallScoreCalculator overallScoreCalculator, Func <string, IComputerPlayer> computerPlayerFactory, IRound round, IConfiguration configuration, IInputOutputWrapper inputOutputWrapper, IComputerPlayerViewModelHelper computerPlayerViewModelHelper, IGameMoveViewModelHelper gameMoveViewModelHelper) { _overallScoreCalculator = overallScoreCalculator; _computerPlayerFactory = computerPlayerFactory; _round = round; _configuration = configuration; _inputOutputWrapper = inputOutputWrapper; _computerPlayerViewModelHelper = computerPlayerViewModelHelper; _gameMoveViewModelHelper = gameMoveViewModelHelper; _normalPlayer = new NormalPlayer(); }
public PlayerIdProvider(IInputOutputWrapper inputOutputWrapper, ILogger logger) { _inputOutputWrapper = inputOutputWrapper ?? throw new ArgumentNullException(nameof(inputOutputWrapper)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public Round(IRoundCalculator roundCalculator, IInputOutputWrapper inputOutputWrapper, IGameMoveViewModelHelper gameMoveViewModelHelper) { _roundCalculator = roundCalculator; _inputOutputWrapper = inputOutputWrapper; _gameMoveViewModelHelper = gameMoveViewModelHelper; }