Share your repls and programming experiences

← Back to all posts
Worlds Hardest Game
Pythonier (314)

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

Commentshotnewtop
PYer (3454)

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

Pythonier (314)

@PYer I added that, thanks for the feedback!

PYer (3454)

@Pythonier i think its much better now

LucasOrdway (4)

there is a 3.125% chance of winning

Aidan72 (8)

@LucasOrdway um i posted that a while ago

LucasOrdway (4)

@Aidan72 yeah saw that after I commented lol

xeroc144 (0)

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

Pythonier (314)

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

Jason21 (0)

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

Pythonier (314)

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

minion3665 (13)

Finally won this game :)

Trapdoorspyder (102)

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.

Pythonier (314)

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

Murzikal (22)

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

GeorgeIrvine_Fy (4)

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

Pythonier (314)

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

zog1 (15)

Won on second try am I lucky?

Fire_Kiwi (17)

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:

LucasOrdway (4)

won right after I commented that

FrancoSinisi (1)

I've played only one time and won.

Pythonier (314)

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

FrancoSinisi (1)

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

itbarsoum (49)

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

Pythonier (314)

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

TommyIsAwesome (26)

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

Pythonier (314)

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

minion3665 (13)

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

minion3665 (13)

@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

Pythonier (314)

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

[deleted]

there is a 3.1% chance of winning

Pythonier (314)

@AidanSlyker correct, it's really hard.

[deleted]

@Pythonier not even close to almost impossible though

Pythonier (314)

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

Aidan72 (8)

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

Pythonier (314)

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

Aidan72 (8)

@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

Pythonier (314)

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

Aidan72 (8)

@Pythonier please tell me that is sarcasm

Pythonier (314)

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

Aidan72 (8)

@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

Pythonier (314)

@Aidan72 I was just trying to be nice.

Aidan72 (8)

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

Aidan72 (8)

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

Aidan72 (8)

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

PYer (3454)

@Aidan72 Maybe give some advice instead of being rude.