waving android

I am currently a software engineer at Google, where as a member of the Android platform team I build frameworks and user interfaces.

The blog here at is mostly historical; you can find more recent posts on .

Hamlet.z

September 14th, 2005

Hmm. I wonder if you can get the Hamlet text adventure as an Infocom z-file? Update: I guess not. According to the help file, it’s a custom JavaScript engine. Well done, sir. [Also: this was apparently inspired by a Usenet Internet Oracle supplication. When was the last time you thought about the Usenet Oracle?]

> talk to ghost
“Hey Dad,” you say cheerily. “What’s up?”
“Hamlet,” says the old man after a sigh, “you remember how I was found mysteriously dead in the orchard a couple of weeks back? Well… it’s like this. Your uncle Claudius poisoned me so he could become king and marry your mother. I’d be awfully grateful if you could kill him for me.” “All right,” you say, “I’ll do it!”Your life suddenly seems to have purpose.

[…]

> stab claudius with nailscissors
Just as you are pulling your punch, Gertrude storms into the room.
“Hamlet!” she snaps. “How many times have I told you NOT to murder your relatives! I know it’s difficult for a Shakespearian lead, but…”
You grudgingly apologise to both of them. Gertrude leaves, mollified.

[…]

> look at skull
In an astonishing feat of visual biometrics you recognise the skull as that of your old court jester, alias poor Yorick.

[…]

> score
You have completed 13% of this adventure.
Horatio rates you as a new-hatched unfledg’d comrade.

newer: older: