Ledger Style changes
This commit is contained in:
@@ -136,10 +136,10 @@ class BlackJack:
|
||||
|
||||
async def play_game(self, ID, bet, recv, send):
|
||||
gameOver = False
|
||||
playerStats = self.ledger.readLedger(ID)
|
||||
playerStats = self.ledger.read(ID)
|
||||
if playerStats is None:
|
||||
self.ledger.writeLedger(ID)
|
||||
playerStats = self.ledger.readLedger
|
||||
self.ledger.write(ID)
|
||||
playerStats = self.ledger.read
|
||||
|
||||
self.deal()
|
||||
while not gameOver:
|
||||
|
||||
Reference in New Issue
Block a user