Creating a text adventure

Discussion in 'Python' started by DannyB, Mar 2, 2006.

  1. DannyB

    DannyB Guest

    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!! :)
     
    DannyB, Mar 2, 2006
    #1
    1. Advertisements

  2. DannyB

    Guest

    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/writing-games.html#hModel
     
    , Mar 2, 2006
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dante
    Replies:
    2
    Views:
    755
  2. Replies:
    1
    Views:
    320
    nobody
    Sep 26, 2003
  3. Zachary
    Replies:
    5
    Views:
    3,041
    Peter Hansen
    Jan 19, 2004
  4. Ara Kooser

    text adventure question

    Ara Kooser, Dec 2, 2006, in forum: Python
    Replies:
    5
    Views:
    535
    Steven D'Aprano
    Dec 3, 2006
  5. Wildemar Wildenburger

    Adventure-Engines in Python

    Wildemar Wildenburger, Aug 13, 2007, in forum: Python
    Replies:
    2
    Views:
    331
    Neil Cerutti
    Aug 13, 2007
  6. Replies:
    19
    Views:
    939
    Neil Cerutti
    Apr 16, 2008
  7. spinoza1111

    A C Adventure: your comments are welcome

    spinoza1111, Aug 15, 2009, in forum: C Programming
    Replies:
    146
    Views:
    2,901
    Chris M. Thomasson
    Sep 1, 2009
  8. K. Frank
    Replies:
    2
    Views:
    220
Loading...