Thread: Text-Base games...how to start em?

  1. #1
    Registered User
    Join Date
    Aug 2003
    Posts
    1

    Text-Base games...how to start em?

    Um..I was wondering how would you be able to create a text base game? Like an RPG style, not an online one, but I guess one that you play by yourself?

    Also, games like Tic-Tac-Toe, would they need to be made with stuff like OpenGL/DirectX?

  2. #2
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    Tic-tac-toe can be done entirely with text.

    Anyway, for a text adventure, you need cout, some variables, some if statements, and things like that. If you've gotten past "Hello World" I suppose you should be able to at least program in displaying the first room of your text adventure... then you'll need to prompt the user for input. Check out the FAQ for more info on that. (Programming FAQ link at the bottom of this page)
    Away.

  3. #3
    Registered User
    Join Date
    Aug 2003
    Posts
    17
    Text based games are realitivley easy to program. All you need is a basic understanding of the cout, cin, and if functions. You also need some variables. My first text-based game was a dnd style rpg that had no battles, but after i became proficient with random number generators i could get dice rolls and things.

  4. #4
    Spaced Cadet
    Join Date
    Aug 2003
    Posts
    110
    I'm currently working on a text-based rpg, I can help with many apsects of it (I have a fight engine), you can contact me:
    Aim Nemesis2Darkness
    msn [email protected]

    There is an example (of a text-based-rpg) at <a href="http://www.gametutorials.com">gametutorials.com</a>

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. creating a text adventure; where to start
    By linucksrox in forum Game Programming
    Replies: 15
    Last Post: 08-23-2005, 02:11 PM
  2. Bit Computation Program
    By cisokay in forum C++ Programming
    Replies: 6
    Last Post: 05-13-2005, 09:32 PM
  3. How to change number data from base 256 to base 16?
    By ooosawaddee3 in forum C++ Programming
    Replies: 2
    Last Post: 11-05-2002, 12:19 AM
  4. Virtual Base Class & Constructor :: C++
    By kuphryn in forum C++ Programming
    Replies: 2
    Last Post: 09-13-2002, 03:14 PM
  5. Need assistance for major text base Arena RPG project
    By Ruflano in forum C++ Programming
    Replies: 0
    Last Post: 04-04-2002, 11:11 AM