bugfix
This commit is contained in:
parent
29a1f3f4ec
commit
3575927c85
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -60,7 +60,7 @@ def doRound(turn, canCheat, player, computer):
|
||||||
break
|
break
|
||||||
bank += res[0]
|
bank += res[0]
|
||||||
print(f"Computer rolled a {res[0]}, bank is now {bank}")
|
print(f"Computer rolled a {res[0]}, bank is now {bank}")
|
||||||
shouldRoll = fp.rint(0, 1)
|
shouldRoll = fp.randint(0, 1)
|
||||||
if not shouldRoll:
|
if not shouldRoll:
|
||||||
print(
|
print(
|
||||||
f"Computer stopped rolling after {rollCounter} roll(s), bank was {bank} points{' (!! CHEAT !!)' if cheatFlag else ''}"
|
f"Computer stopped rolling after {rollCounter} roll(s), bank was {bank} points{' (!! CHEAT !!)' if cheatFlag else ''}"
|
||||||
|
|
Loading…
Reference in a new issue