This is a replica in a small version of the classic text adventure game "Zork" by Infocom (1977).
In order to play, you must specify an action for example "look" or "grab" followed by an object "rock" or "sword" for example (both either lowercase or uppercase). To move or attack, you must always specify a direction (north, west, south, east). To retrieve all possible actions type "help" to view them. You start in room 1 with no objects. In order to grab a sword you need a holder (aka "scabbard") to put it inside. Also, to use an object like "lock" with a "key" or "attack" with a "sword", you must have that item equipped.
To beat the game, you must:
- Go to room 2 and grab "key"
- Go to room 1, equip "key" and unlock and go to room 3
- Go to room 5 and grab the "scabbard"
- Go to room 4 and grab the "sword"
- Go to room 1 and unlock and go to room 6
- Equip "sword" and attack monster until you kill it!
At any room, if there is an exit if you have a key equipped you can lock or unlock it at any time. Additionally, when you enter room 6 you must fight the monster which has 3 lives. It will be hiding, so you will need to specify a direction to hit it. Furthermore, apart from looking at entities like NPCs, you can also talk to them (it only prints a sentence).