示例#1
0
        public Game(IHubContext <PokerHub> hubContext, IPokerEvaluator pokerEvaluator, TableConfiguration tableConfig) //TODO: add Dependency Injection for handLogger here, redis, and other services
        {
            _hubContext     = hubContext;
            _pokerEvaluator = pokerEvaluator;

            Table      = new Table(tableConfig);
            BoardCards = new List <Card>(5);
            HandState  = new HandStageHelper();
        }
示例#2
0
 public Game(IHubContext <PokerHub> hubContext, IPokerEvaluator pokerEvaluator) : this(hubContext, pokerEvaluator, new TableConfiguration())
 {
 }