Good work here, I like the way you have used the sample method to access a random element in the array. You need to add an if else statement into the loop to tell the user to guess higher or lower.