- This is an 'adventure game' that allows user to travel room to room by entering commands in terminal.
- Built to learn Python basics
-
Clone/ download repo for local use
-
Valid directional commands: ['n', 'w', 'e', 's', 'q'(quit)]
-
Rooms hold different items to pick up by using command 'get' or 'g'
-
Run in Python parser or local command line
-
Python must be installed, no extra dependencies needed
-
The
/srcdirectory contains the filesadv.py, which is where the main logic for the game lives,room.pycontains the definition of the Room class, andplayer.pycontains the definition of the Player class. -
item.pycontains Items class. -
Parser prints an error if the player tries to move where there is no room.