Python Forum

Full Version: beginner having text based adventure trouble
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi im new to python and am having trouble with coding.

Basically, I want to get to a point in the game that prints a lists (which ive done)
give an option to look round a room at items, ie "food", etc,
and give back certain information to the user depending on their choice of item:
then give them the list of options again until they pick a certain item which will progress the game...
this is an absolute nightmare i've tried everything lol.

obviously, if they choose the item first go, i would want the game to progress the same as above...

thanks.
I haven't tried this myself, but is supposed to be a true clone of the original 'Colossal Adventure Cave' game from 1980's.
Give is a look.
PyPi: https://pypi.org/project/adventure/
GitHub: https://github.com/brandon-rhodes/python-adventure