The Game of Bets
Now this isn't just any ordinary game. This is a lot more than that! Run the program to find out more.
Rules:
- Place a number between 1-10.
- You have 10 tries.
- Try your best!
Leaderboard:
@JosephSanthosh = $1000Try your best and screenshot the picture with your highscore to be in the leaderboard!
Hope you all like it!
and then...?
uh theres the rules then the loading then this? i dont get to place a bet?
Did you press Y?
@Bookie0It has to be uppercase.
@Bookie0you should make it .upper()
for the input
always be ready for any case the user types in
Where do I put [email protected]
like this i think:
play_again = input("y/n").upper() # transforms what the user says into all caps if play_again == "Y": # etc
works now! thanks, did you get to put a bet?
@Bookie0Works for me!!!
@Bookie0Now it doesn't work with uppercase Y .
@Bookie0Thnks a lot btw!
@Bookie0np :)
@JosephSanthoshdid you get to play the game at all???
@Bookie0yea but i lose
@JosephSanthoshAw that's sad. I'm so sad cause I spent so much of time on this project and it literally made no effect and no liked it. Sad :(
@Bookie0btw instead of cprint you should use ansi escape codes ;)
@JosephSanthoshWhat are those?
@Bookie0here: https://repl.it/talk/learn/Add-ons-to-your-Python-code-to-make-it-better/35792
scroll down to colors
@JosephSanthoshaight!
@Bookie0I don't like fake loading messages....
You don’t? Why not?
@DynamicSquid[loading reply...]
Gotta mention that's quite a vague excuse to not like a program.
@DynamicSquid
Hrm ok