Share your repls and programming experiences

← Back to all posts
14
Worlds Hardest Game

Worlds Hardest Game, almost impossible. Still really hard. If you don't guess correctly you lose. 1 or 2

Winners:
@TommyIsAwesome
@LucasOrdway
@Aidan72
@Minion3665
@FrancoSinisi
@xeroc144
@Fire_Kiwi
@itbarsoum

Commentshotnewtop
4

there is a 3.125% chance of winning

1

@LucasOrdway um i posted that a while ago

2

@Aidan72 yeah saw that after I commented lol

1

@LucasOrdway won on my first try. Guess I'm lucky or something

1

@LucasOrdway I changed it to 6 tries to make it harder.

2

Make it so that you can just press enter to play again.

2

@PYer I added that, thanks for the feedback!

2

@Pythonier i think its much better now

2

Finally won this game :)

1

@Jason21 Nice Job! How many tries did it take you?

1

Won on second try am I lucky?

1

Hey, great game! And like any luck game, I have developed I fine-tipped, well tested, flawless, useful, uncanny and xylophone method:
SPAM 111111111

And there:

1

won right after I commented that

1

I've played only one time and won.

2

@FrancoSinisi Really, wow! Nice job, did you complete it any other times?

1

@Pythonier I've just played it once. Really crazy! My choice was 11212.

1

@FrancoSinisi I used 11212 to try and it worked first try for me...

2

@TommyIsAwesome Nice job, your name has been added to the list.

1

@Pythonier yay but why doesn't winners.txt work (i think its supposed to add everyone who won to the list but it shows nothing)

2

@TommyIsAwesome It takes a while to load. I hope repl.it will fix that. I am pretty sure the code is correct though.

1

@Pythonier I forked it and did some testing. For every instance of the file it saves, but when you restart it resets

I will try to find you a fix

Edit: your code is right, just repl.it doesn't save (they 100% used too, now I have to fix my discord currency bot)

1

@Pythonier I (sort of) fixed it by using a remote database. Here is my improved version. Feel free to fork it.
https://repl.it/@minion3665/Worlds-Hardest-Game

You will need to change this line so that it has your database info in
connection = pymysql.connect(host='remotemysql.com', user='TeZbp01GZA', password='LIKw0BsTGS', db='TeZbp01GZA', charset='utf8mb4', cursorclass=pymysql.cursors.DictCursor)

You should probably also move the password to a more secure location

Feel free to fork you just need to give me credit for it

3

@minion3665 Thank You! I probably won't use it though.

1

there is a 3.1% chance of winning

2

@AidanSlyker correct, it's really hard.

1

@Pythonier not even close to almost impossible though

2

@AidanSlyker I can give the user a choice of how many times they have to get it correct. If you think that is better.

2
1

@Pythonier i was just saying crediting it as almost impossible isnt right

1

@Aidan72 Your right, but the chance of winning is still close to 0%

1

@Pythonier Here is a harder game, grab a pair of dice and accurately guess the numbers they will both land on

also you called it the worlds hardest game when all you have to do is repeat a mundane task over and over

1

@Aidan72 That is a great game! Do you mind if I code that.

1

@Pythonier please tell me that is sarcasm

1

@Aidan72 No, that just sounds like a good idea.

1

@Pythonier i dont know what you think constitutes as a "great game" but i know it doesnt meet mine or the general public's standards

1

@Aidan72 I was just trying to be nice.

1

@Pythonier so youre saying that you genuinely thought that my post saying how to make a harder game was a recommendation??

1

@Pythonier and you didnt even like it and only asked to make it into a game to be nice??

1

@Pythonier why though? do you genuinely find it fun to play a guessing game?