Share your repls and programming experiences

← Back to all posts
Riddles v1
studentAlfredAl (443)

Hey guys, this was a big project for me. These riddles are medium difficulty, and let me know if you want the riddles in the future to be easier or harder. Also, let me know about any future recommendations for this project. I'll be making more versions in the future. Have fun and stay safe!

Comments
hotnewtop
AgastyaSandhuja (168)

Wow! this is fun but I have a few suggestions so you can make it better (you still have the upvote don't worry)
Suggestion 1) Make a file like a json or something that has multiple riddles and answers, and make your code choose 3 random ones to give
2) make your answers hashed so you can't look into the code and see the answers
But even without these suggestions, I rate this 10/10

AgastyaSandhuja (168)

that took me 5 minutes to write

studentAlfredAl (443)

Thank you so much for your suggestions! Thanks for the upvote :)@AgastyaSandhuja

studentAlfredAl (443)

How do I make the answers hashed so people can't see the answers? @AgastyaSandhuja

AgastyaSandhuja (168)

there might be a module so you can get the input of the persons answer, hash it, and see if it matches the stored hash for that question. In most languages there is a module or a built in hash() function so you can search it up on stackoverflow idk Java @studentAlfredAl

AgastyaSandhuja (168)

it's like encrypting but no way to decrypt. It's a permanent form and companies use it to store your passwords so nobody can ever know you password- not even them. @studentAlfredAl

EpicGamer007 (1493)

@studentAlfredAl, Wow this is really fun, you have made me thinking about adding my own version to to this repl. I suggest that every time a new riddle is given, erase the screen for aesthetic reasons(entirely your choice). But overall very good, I am giving this an upvote.

studentAlfredAl (443)

Yes, I'm going to make a volume 2 in the future. I learned how to clear the screen, and there will be some new features in the next version. Thanks for the upvote and feedback! :) @AbhayBhat

Bookie0 (5657)

Cool! Maybe add some colors and some spaces between each sentence because it’s a bit too bunched up.
Otherwise great job!

[deleted]

This is really fun one suggestion would be to add more riddles or use an api to get them

[deleted]

This is good, keep making more riddles!

studentAlfredAl (443)

Would you like me to make them harder or easier? @FunnyLamma

[deleted]

The riddles are great, (the last one was pretty hard though). I just think you should make more riddles. @studentAlfredAl

DynamicSquid (4602)

you could make the user's input lowercase, and remove all whitespace. that way, most inputs would work