Think of a number between 1 and 100
AI Mind Reader is a fascinating demonstration of how mathematical algorithms can simulate psychic abilities. Available to play for free on Pecho.in, this game uses a highly efficient Binary Search Algorithm to narrow down the number you are thinking of in just a few steps.
The AI doesn't actually read your brain waves (yet!). Instead, it divides the search range in half with every question you answer. By telling the AI whether its guess is correct or not, you are helping the logic engine eliminate 50% of the remaining possibilities each time.
Beyond being a fun party trick, this game teaches the concept of logarithmic time complexity. In a range of 1 to 100, the AI will never need more than 7 guesses to find your number. This is the same principle used in high-speed database searching!