"Dungeons and Directories" is Tom Mason's "short text adventure game that's played in your file browser."
Mason provides detailed build notes at GitHub. I like this quote:
In any game, the world is a big glob of state variables. The core idea is to model that state exhaustively.
More discussion in this Hacker News thread.