public GameHandler(BACContext context, IAIHandler aIHandler, IOptions <AppSettings> appSettings) { this._context = context; this._aiHandler = aIHandler; this._rng = new RNGHandler(appSettings); this.NumberOfGuessesAIHasToMakeBeforeItStartsUsingAnOptimalStrategy = appSettings.Value.NumberOfGuessesAIHasToMakeBeforeItStartsUsingAnOptimalStrategy; }
public IndexModel( UserManager <User> userManager, SignInManager <User> signInManager, IEmailSender emailSender, BACContext context) { _userManager = userManager; _signInManager = signInManager; _emailSender = emailSender; _context = context; }
public PlayersController(BACContext context) { this._context = context; }
public GameController(BACContext context, UserManager <User> userManager, IGameHandler gameHandler) { this._context = context; this._userManager = userManager; _gameHandler = gameHandler; }