Share your repls and programming experiences

← Back to all posts
17
Worlds Hardest Game

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

New: Made harder now it takes more tries to win. Chance of Winning: 0.78125%

Winners:
@Murzikal
@ProgrammerAI
@TommyIsAwesome
@LucasOrdway
@Aidan72
@Minion3665
@FrancoSinisi
@xeroc144
@Fire_Kiwi
@itbarsoum
@jason21

Loading Repl
Commentshotnewtop
4

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

3

@PYer I added that, thanks for the feedback!

4

@Pythonier i think its much better now

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

3

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

1

@LucasOrdway i won your game and won $10 dollars in a bet with my friend

1

@xeroc144 Really :(, I'll add your name, don't worry ;)

3

Finally won this game :)

1

When I first saw this (before I played) and I read the description I thought you only had to guess once but there would be decimals out to like 10 digits. Haven't won yet, by the way.

1

@ProgrammerAI Nice Job!!!!! Your name has been added to the list of winners.

1

i just beat it first try but it didn't give me the would you like to add your name to winners option :(

1

For me it was the simple matter of entering the sequence 1,2,1,2,1,2,1. Is that random or deliberate?

1
3
4

@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.

4

@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...

4

@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)

4

@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

4

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

1

there is a 3.1% chance of winning

4

@AidanSlyker correct, it's really hard.

1

@Pythonier not even close to almost impossible though

4

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

4
1

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

4

@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

4

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

1

@Pythonier please tell me that is sarcasm

4

@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

4

@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?

3

@Aidan72 Maybe give some advice instead of being rude.