•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Python section within the Software Development category of DaniWeb, a massive community of 456,541 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,273 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Python advertiser: Programming Forums
Views: 839 | Replies: 2
![]() |
•
•
Join Date: Oct 2007
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
hey ive been working on a txt game... btw im using python 2.3. i am trying to have a requirement for each 'room' or function, i want it so the user has to pick up an object into their inventory before they can go on to the next room. here is my game http://www.privatepaste.com/ce0kCf6Bz5 ive tried a good amount of stuff i think what i do have so far would work but i cant actually make call it or w/e figure out how to use it. this is the part ive been working on
require = ("Running Shoes", "Special Water")
has_all_needed = True
for item in require:
if item not in inventory:
has_all_needed = False
if not has_all_needed:
track()
else:
weight_room()![]() |
•
•
•
•
•
•
•
•
DaniWeb Python Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Name your 5 favourite games of all time! (Geeks' Lounge)
- MySQL LIKE statement (MySQL)
- Making Text Based Game (Game Development)
- Dots-and-Boxes game - RFC (Python)
- Text Adventure -- Classes (Python)
- Text RPG (Visual Basic 4 / 5 / 6)
- anybody play halo (Geeks' Lounge)
- Can u help me with hangman code in vb.net please :( (VB.NET)
- Dr Scheme example (Computer Science and Software Design)
Other Threads in the Python Forum
- Previous Thread: Acronym code
- Next Thread: Newbie need help: Reading sequential files



Linear Mode