By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,795 Members | 1,216 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,795 IT Pros & Developers. It's quick & easy.

Creating a text adventure

P: n/a
I am in the process of learning Python. I have the basics down and I
now want to test my abilitiy to use them in a (very) small project. I
have the idea for a (very) small text based game mapped out in my head.
It will include two rooms, random creatures (amounts and type) in each
room and random chests in each room. The basic "battle system" giving
the user the ability to run or attack. Creatures will have hp, attack,
defense, and name attributes. The player will have the same. Treasure
chests will be populated with random treasure.

I'm not adding anything fancy - like I said its just a small project to
gell my newfound knowledge.

What I am looking for is a resource (preferably via the web) that will
give me an idea of how to set things up. I'm not looking to add any
libraries to the project (so no pygame or livewires). I'm just using
2.4.2. I'll add other things when I feel I have 'mastered' the
fundamental concepts of Python.

Thanks for your help!! :)

Mar 2 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
This (unabashed plug) might help. Most of the tutorial is about
networking, but just skip that stuff. Hopefully the architecture
section helps. But it sounds like you're pretty much on your way
already. Just read through your first paragraph, circle every noun,
and determine whether that noun should be a class or an attribute of a
class.

http://sjbrown.ezide.com/games/writi...es.html#hModel

Mar 2 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.