You have to guess if the next number is higher or lower than the previous number then either press higher or lower. If you get it right your score increases by 1. If you get it wrong the your score decreases by 1.
@Ninja_987 If this project gets 20 likes and favourites then I will add a feature were you can see who has the high score!