This is a search game which ask user to guess the index of a secret number, you may apply your binary search logic here. Start with an index, if that secret element is present at your guessed index you won. Else the app with let you know whether your guess is high or low. Thus apply your Binary Search logic and see how fast you can find the correct index.