Happy Coding

Higher Lower (Random Computer Player)

This program creates a computer that plays the higher-lower number guessing game with you. You pick a number, and the computer tries to guess what it is. Each time the computer guesses, you tell it whether the number you’re thinking of is higher or lower than your number. The computer “remembers” your answers and gets closer with every guess.

This is a companion discussion topic for the original entry at https://happycoding.io/examples/java/higher-lower-random-computer-player