Python Forum
beginner having text based adventure trouble
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
beginner having text based adventure trouble
#1
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.
Reply
#2
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
Reply
#3
Check also https://python-forum.io/thread-21.html
Larz60+ likes this post
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  dictionary output to text file (beginner) Delg_Dankil 2 1,187 Jul-12-2023, 11:45 AM
Last Post: deanhystad
Question Simulate an answer based on user input [Beginner needs guidance] Bombardini 1 1,291 Nov-12-2022, 03:47 AM
Last Post: deanhystad
  Trouble downloading and using any text editors edwarmax001 1 1,856 Feb-20-2021, 05:36 PM
Last Post: Larz60+
  Random Math Text Based Game captainflint 2 4,486 Aug-05-2018, 05:40 PM
Last Post: ahsankhan
  Text Based Tic Tac Toe incineratez 3 4,450 Nov-19-2017, 10:47 AM
Last Post: heiner55
  collosal cave python adventure rowan_hd 3 2,982 Oct-10-2017, 09:29 PM
Last Post: ichabod801

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020