On iambored.com, I just tried a fun program that guesses a person or character that you think of -
I'm sure it's easy to stump with an unjustly obscure person. However, it correctly narrowed my answer down to 'The Green Lantern'.
In high school I wrote a similar program for the TI-85 calculator I was using for some of my later classes. I made a chart naming a bunch of my friends, teachers, etc & their characteristics. I entered it into the calculator so it would ask you questions and tell you who you were thinking about.
That was one of the ridiculous ways I creatively passed the time in Study Hall back in the day.
Nowadays I try to avoid programming & code if at all possible. Graphic interfaces are much more appealing to me.