Main
Main
import random,re;
cash=15000
print("do NOT do this in real life.")
input("Your balance is $"+str(cash)+" [Enter]")
while True:
bettingvalue="AAAAA"
caughtrate=random.randint(1,99)
redrate=50
blackrate=50
numberrates=3
insight=input("Do you want me to bias the board for this round? Your
chances of getting caught are: "+str(caughtrate)+"% Ill do it for $"+str(1000-
caughtrate*10)+". (y/n)")
if insight == "y":
if 1000-caughtrate*10 >= cash:
input("you're broke. [Enter]")
else:
redrate=random.randint(0,100)
blackrate=100-redrate
print("The chance of red is now "+str(redrate)+"% ")
cash=cash-caughtrate*10
input("new balance: $"+str(cash)+" [Enter]")
else:
input("Scared. [Enter]")
bettingvalue=int(re.sub(r'[^0-9]', '', input("how much are you money are
you betting? [Integer] $")))
bettingvalue=abs(int(bettingvalue))
if bettingvalue > cash:
while bettingvalue > cash:
bettingvalue=input("\nyou cant choose a number more than your
balance. Pick again [Integer]")
elif bettingvalue==cash:
input("All in? ... Well, alright then. Pick your next choice wisely..
[Enter]")