Some cool stuff

This commit is contained in:
Nikolaj
2022-01-28 17:08:28 +01:00
parent f838b4e62d
commit b449e453a4
8 changed files with 241 additions and 7 deletions

View File

@ -758,7 +758,7 @@ class Blackjack(CardGame):
game_id = datetime.datetime.now().strftime('%Y%m%d%H%M%S')
new_game = {
"_id": channel, "dealer hand": dealer_hand,
"dealer hand": dealer_hand,
"dealer busted": False, "game_id": game_id,
"dealer blackjack": (self._calc_hand_value(dealer_hand) == 21),
"user hands": {}, "all standing": False, "round": 0