🐛
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
"""Functions for games Gwendolyn can play."""
|
||||
|
||||
#__all__ = ["Money", "Games"]
|
||||
__all__ = ["Money", "Games"]
|
||||
|
||||
from .money import Money
|
||||
from .games import Games
|
||||
|
@ -1,7 +1,6 @@
|
||||
import random
|
||||
import math
|
||||
import datetime
|
||||
import os
|
||||
import asyncio
|
||||
import discord
|
||||
|
||||
@ -48,8 +47,8 @@ class Blackjack():
|
||||
values.append(values[x] + 11)
|
||||
values[x] += 1
|
||||
else:
|
||||
for x in range(len(values)):
|
||||
values[x] += int(cardValue)
|
||||
for value in values:
|
||||
value += int(cardValue)
|
||||
|
||||
values.sort()
|
||||
|
||||
@ -169,7 +168,7 @@ class Blackjack():
|
||||
hand["third hand"], allStanding, preAllStanding = self.testIfStanding(hand["third hand"],allStanding,preAllStanding,False)
|
||||
if hand["split"] >= 3:
|
||||
hand["fourth hand"], allStanding, preAllStanding = self.testIfStanding(hand["fourth hand"],allStanding,preAllStanding,False)
|
||||
|
||||
|
||||
return hand, allStanding, preAllStanding
|
||||
|
||||
|
||||
|
@ -1,5 +1,3 @@
|
||||
import pymongo
|
||||
|
||||
from funcs import logThis
|
||||
|
||||
class Money():
|
||||
|
Reference in New Issue
Block a user