I have returned to working on the roulette program and, albeit not a lot was done, progress has been made:
print(f"Current total: {yourMoney}")
betAmount = int(input("Bet amount: "))
betType = str(input("Pick a bet type (S)ingle/(G)roup: "))
betList = []
#Give Bet type
if "g" in betType.lower():
betType = "group"
else:
betType = "single"
if betType.lower() == "single":
betList.append(str(input("Between 000, 00, 0, and up to 36, what do you bet on? ")))
To start, “betType” is the focus, getting an input of either a grouped bet or, otherwise, a singular bet
The if…else Just changes the input to either “group” or “single” for the bet type
What is planned with the last line is to allow another decision on which slot on the board to pick for the bet
What will follow is the selection of premade groups.
Leave a Reply