I've made a simple guessing game, which utilizes simple if-statement. Guess a number between 0 and 10. It'll hint you to put a higher/lower number. That's working fine. To make it a little more interesting, I'd like to taunt the user until the right answer is input.
Question: How to get a message item randonly and return this message if the user has not guessed the right number?
Example:
Guess a number: 5
You have no idea, huh? Try higher. 7
Ha! still far from it. Try higher. 8
Did you just fart? I'm sure it was a perfect 10! Try higher. 10
You momma did teach you how to count, right? Try lower. 9
Yes, well done!
Any ideas? :)