Originally Posted by
kpop
Does anyone know where I can find a guide or reference on a Hi-Lo game? The game is to produce a random integer between 1 and 100 and provide the user with seven tries to guess the generated number. if the user guesses the correct number a message should appear that congratulates them. If the user guesses the wrong number, the message "try again" should appear and indicate whether the guess was too high or too low and also display the number of guesses left. After seven incorrect guesses, the computer should display the message, "sorry, you lost." and display the correct number.
I know there is a source out there, but all I could find was sources in other programming languages.