# > more than
# >= more than or = to
#
#
#
import time
import random
# random num gen = random.randint(0.1, 0.50)
#time.sleep(1)
rando = random.randint (1, 50)
money = 10 + rando * 0.01
print ("gamble bot ver 0.1.5")
print ("to answer questions click next to the weird arrow")
print ("activate gamble bot 9000?")
print ("1) yes")
print ("2) no")
choice = int(input("-> "))
if choice == (1):
print ("Gamble Bot 9000 Activated")
time.sleep(0.5)
print ("10011001110000111100101010110011000101011001110011001010")
time.sleep(0.1)
print ("10011001110001100010101010110101010001111100110011001010")
time.sleep(0.1)
print ("10011001110010101011001010101010100010011000110011001010")
time.sleep(0.1)
print ("10011001110000111100101010110011000101011001110011001010")
time.sleep(0.1)
print ("10011001110001100010101010110101010001111100110011001010")
time.sleep(0.1)
print ("10011001110010101011001010101010100010011000110011001010")
time.sleep(0.1)
print ("10011001110000111100101010110011000101011001110011001010")
time.sleep(0.01)
print ("10011001110001100010101010110101010001111100110011001010")
time.sleep(0.1)
print ("10011001110010101011001010101010100010011000110011001010")
time.sleep(0.1)
print ("GB: hello im gameble bot 9000 GB for short if you go under 1$ you lose")
time.sleep(2.5)
print (".")
time.sleep(0.5)
print (".")
time.sleep(0.5)
print (".")
time.sleep(0.5)
print ("Transferring all your money to gamble bot")
time.sleep(2)
print ("GB: oh it looks like you just bearly have the 10$ requirment to start gambling i didnt think anyone would be that poor")
time.sleep(5)
print ("GB: you have ", money)
time.sleep(1)
else :
print ("wow really you would do that to poor gamble bot")
#stops program after this
exit()
print ("GB: alright time to gamble")
while money > 1 :
print ("GB: what gamble game would you like to do?")
print ("1) roll a dice 12x")
print ("2) pick a card 20x")
choice = int(input("-> "))
if choice == (1):
print ("GB: you picked roll a dice")
print ("GB: what number would you like to bet on 1-6")
betchoice = int(input())
print ("how much would you like to bet? ")
print ("you currently have", money)
print ("(make sure to NOT put a decimal type it like this 1000 that is 10.00 1037 that is 10.37 multiply the amount you want to bet by 100 when i learn how to code better this will be fixed)")
bet = int(input("-> ")) / 100
print ("how many times whould you like to bet that")
betnum = int(input("-> "))
if bet * betnum > money:
print ("sorry you dont have enough money")
continue #go back to start
else :
while betnum > 0:
money = money - bet
rando = random.randint(1, 6)
if rando == betchoice:
money = money + bet * 10
betnum = betnum - 1
print ("win", bet * 10)
continue
else :
betnum = betnum - 1
continue
print (money)
continue