System.out.println( "You guessed correctly" ); RandomNumber( randomValue : value ) Guess( value < randomValue ) RandomNumber( randomValue : value ) Guess( value > randomValue ) RandomNumber( randomValue : value ) Guess( value == randomValue ) GameRules( allowed : allowedGuesses ) Game( guessCount < allowed ) GameRules( allowed : allowedGuesses ) Game( guessCount >= allowed ) System.out.println( "Your guess was too high" ); System.out.println( "Your guess was too low" );