Thread: text adventure game

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Advanced Novice linucksrox's Avatar
    Join Date
    Apr 2004
    Location
    Michigan
    Posts
    198

    text adventure game

    I'm still working on my text adventure game. I have a general idea for the design, well maybe more than just that, but I'm not sure how to put it all together.
    Here's what I have:
    Character class (has inventory, name, and location)
    Inventory class (has list of Items, add/remove functionality)
    Item class(es) (has name and bool isUseable)
    Lamp, Door, Chest inherit from Item (has isOn, isLocked, and methods to change state)
    Room class (has description of room, list of items)

    that's what i have so far, i'm not sure how to put it all together... any suggestions? thanks a lot

    [edit]changed item system[/edit]
    Last edited by linucksrox; 07-21-2006 at 07:58 PM.
    "What are all you parallelograms doing here?" - Peter Griffin (to Joe and his wheelchair buddies)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C Programming 2d Array Question
    By jeev2005 in forum C Programming
    Replies: 3
    Last Post: 04-26-2006, 03:18 PM
  2. A bunch of Linker Errors...
    By Junior89 in forum Windows Programming
    Replies: 4
    Last Post: 01-06-2006, 02:59 PM
  3. Game Independent Anti-cheat Project Needs Programmers
    By GIA Project Lea in forum Projects and Job Recruitment
    Replies: 3
    Last Post: 09-15-2005, 07:41 PM
  4. Saving a text game
    By Unregistered in forum C++ Programming
    Replies: 4
    Last Post: 03-27-2002, 01:33 PM
  5. Text Based Game
    By drdroid in forum C++ Programming
    Replies: 2
    Last Post: 02-18-2002, 06:21 PM