Skip to content
← Back to Community
The Game of Bets
Profile icon
gibbsfreenergy

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
= $1000

Try your best and screenshot the picture with your highscore to be in the leaderboard!

Hope you all like it!

Voters
Profile icon
angrydoge
Profile icon
dabs364
Profile icon
gibbsfreenergy
Comments
hotnewtop
Profile icon
dabs364

Hrm ok

Profile icon
Bookie0

Screen Shot 2020-09-09 at 8.28.05 AM

and then...?

Profile icon
Bookie0

Screen Shot 2020-09-09 at 8.27.41 AM
uh theres the rules then the loading then this? i dont get to place a bet?

Profile icon
gibbsfreenergy

Did you press Y?

@Bookie0

Profile icon
gibbsfreenergy

It has to be uppercase.

@Bookie0

Profile icon
Bookie0
Profile icon
Bookie0

you should make it .upper() for the input
always be ready for any case the user types in

@JosephSanthosh

Profile icon
gibbsfreenergy

Where do I put [email protected]

Profile icon
Bookie0

like this i think:

play_again = input("y/n").upper() # transforms what the user says into all caps if play_again == "Y": # etc
Profile icon
gibbsfreenergy

works now! thanks, did you get to put a bet?

@Bookie0

Profile icon
Bookie0

not working?

Screen Shot 2020-09-09 at 3.50.37 PM


@JosephSanthosh

Profile icon
gibbsfreenergy

Works for me!!!

@Bookie0

Profile icon
gibbsfreenergy

Now it doesn't work with uppercase Y .

@Bookie0

Profile icon
Bookie0
Profile icon
gibbsfreenergy

Thnks a lot btw!

@Bookie0

Profile icon
Bookie0
Profile icon
gibbsfreenergy

did you get to play the game at all???

@Bookie0

Profile icon
Bookie0

yea but i lose

@JosephSanthosh

Profile icon
gibbsfreenergy

Aw 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 :(

@Bookie0

Profile icon
Bookie0
Profile icon
Bookie0

btw instead of cprint you should use ansi escape codes ;)

@JosephSanthosh

Profile icon
gibbsfreenergy

What are those?

@Bookie0

Profile icon
Bookie0
Profile icon
gibbsfreenergy

aight!

@Bookie0

Profile icon
DynamicSquid

I don't like fake loading messages....

Profile icon
gibbsfreenergy

You don’t? Why not?

@DynamicSquid

Profile icon
DynamicSquid

[loading reply...]

Profile icon
gibbsfreenergy

Gotta mention that's quite a vague excuse to not like a program.

@DynamicSquid