I created the beginning for an adventure-game, which can be found in this topic:
It's not exactly the same kind of game-play, but has the elements you requested. I didn't use arrays, just text-boxes and instance variables. (on object clicked - if variable is lookat - set text to "it's wonderful")
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..