I visited the Museum of Illusions in NYC with my daughters and there was a similar "mind trick" like this.  I thought it'd be fun to try and code a similar game... Try it out!