Like most text-based adventures of the time (and well into the '90s), the game's system of rules was governed by a' parser '- taking simple phrases like' take key then open door 'and translating them into instructions the game could interpret, allowing you to progress though the environment.