🐛
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user