🐛
This commit is contained in:
1 parent
e7aadcb38c
commit
00fbb2b06d
1 file changed
+1
-1
@@ -227,7 +227,7 @@ def fourInARowAI(channel):
|
|||||||
|
|
||||||
possibleScores = scores.copy()
|
possibleScores = scores.copy()
|
||||||
|
|
||||||
while (min(possibleScores) <= (max(possibleScores) - max(possibleScores)/10)) or len(possibleScores) == 1:
|
while (min(possibleScores) <= (max(possibleScores) - max(possibleScores)/10)) and len(possibleScores) != 1:
|
||||||
possibleScores.remove(min(possibleScores))
|
possibleScores.remove(min(possibleScores))
|
||||||
|
|
||||||
highest_score = random.choice(possibleScores)
|
highest_score = random.choice(possibleScores)
|
||||||
|
|||||||
Reference in new issue
Block a user