private BlackjackContext ConstructContext( int bet, ulong userId, ulong channelId, ulong?messageId) { return(new BlackjackContext { Bet = bet, Deck = CardSet.CreateStandard(), Hands = new Dictionary <ulong, CardHand> { { userId, new CardHand() }, { DealerId, new CardHand() } }, ChannelId = channelId, UserId = userId, MessageId = messageId ?? 0, }); }
public BlackjackManager(int bet) { Bet = bet; _deck = CardSet.CreateStandard(); }