Share your repls and programming experiences

← Back to all posts
Quick game i made (updated)
DarshanRajpara (15)

Hey guys, I made this game in about 15 for when you're bored. Enjoy!

Commentshotnewtop
nazzak (2)

Very nice game.
It is a good time to learn "half-interval search" for those who find this game difficult.

hoop4life (264)

maybe make it a little harder and add a points system
see mine: https://repl.it/talk/share/Number-Game-v30/22288
don't forget to give me a like, and feel free to use my code for reference!!!

DarshanRajpara (15)

@hoop4life
The way that I've coded it, it allows the user to input their desired range, allowing the user to make the game as hard or easy as they wish. Thank you for allowing me to use your code, I will give you credit!

DarshanRajpara (15)

Thanks for all the suggestions! I think i might add some of them! Try to guess my age btw, good luck!
Also, if anyone can answer my question about this question, please help.
https://repl.it/talk/ask/It-keeps-skipping-code/23120

ManharRavipati (25)

Good job. the game was too good. but don't do 1 to 1000 its too hard!

AHulot (17)

Got it! Nice game!

[deleted]

:D :D :D I won again! It's maybe a little too easy so maybe reduce the number of times you get to guess. But great game!

DarshanRajpara (15)

@CoolJames1610
I am planning to implement a way for the user to control the guesses as well.

[deleted]

YOOOO THIS IS SOOOO SICKKKK GREAT IDEA!!! <3 It so much!

ga456ma (0)

Ans.145
Everytime I play I win and I guess everytime the number changes. But you made it easy as it tells the number is too high or too low and I use the range and find the number

ga456ma (0)

Really! I loved this game and won too.
Ans. 578

hoop4life (264)

I made the same thing, but a little different. I still love yours!!

theangryepicbanana (1149)

Please do not post in the Announcements board

DarshanRajpara (15)

@theangryepicbanana
I'm sorry, This was my first post.

Foster_Bryant (6)

Cool! I suggest you either give more turns, or lower the range of the secret number, because the game is currently too hard. Cool game though!

hoop4life (264)

@Foster_Bryant learn to do a half interval search like @nazzak said, I win 90% of the time.

DarshanRajpara (15)

@Foster_Bryant
It is coded so that it prompts the user as to how hard or easy it is. the difficulty of the game is in your hands, I added the default for the user's convenience. The default is not a hard-coded way that you have to play, as i said the difficulty is in your hands, not mine.