Text Based RPG & AI?

This is a discussion on Text Based RPG & AI? within the General AI Programming forums, part of the Cprogramming.com and AIHorizon.com's Artificial Intelligence Boards category; OK, Well I am new to C++ & I am going to start with making my first text based RPG ...

  1. #1
    Registered User
    Join Date
    Jun 2007
    Location
    Usa, Pa
    Posts
    39

    Talking Text Based RPG & AI?

    OK,

    Well I am new to C++ & I am going to start with making my first text based RPG I have been designing for a year now.

    Well I got one question,

    I don't quite understand how AI works. I wanted to know if there's AI in text based games? I need a better understanding of AI & I have no money as of right now to buy a book. Please help me! Thanks!
    IDE and Compiler - Microsoft® Visual C++® 2005 Express Edition
    Operating System - Microsoft® Windows® XP Home Edition SP2

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    It sort of depends on whether you have a strict role-playing game (in which case the "AI" is simple, it's just a bunch of tables and random numbers (produced by dice in the traditional RPG)).

    If you have "enemies" to fight in the game, then they may "need" some intelligence to be "dangeorous enough", such as target seeking.

    None of it should be terribtly difficult to implement, as long as the overall game is fairly simple - and if that's not the case, then you probably aren't aiming at the right level in the first place - doing a reasonably complete game of ANY sort is hard enough, and you may never finish it if you make it too complex.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,189
    check out gamedev.net they have a whole section on ai

    BTW the no money thing isnt an excuse, the library is free, although you may not get the in depth level of knowledge you want, but you never know. Libraries tend to be very eclectic in their selection of books. Plus they serve the general public, most of which wont be interested in a doctoroal thesis on optimization techniques for A* algorithms.
    Last edited by abachler; 10-11-2007 at 10:20 AM.
    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

  4. #4
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,239
    The term "AI" encompasses a huge array of algorithms with different goals. I can give you pointers to specific resources but only if you are more specific in what you are looking for.

  5. #5
    Registered User
    Join Date
    Sep 2007
    Posts
    22
    You might want to reconsider your choice of C++ for text based RPG, there is a language called Inform 7, and others which have all been created specifically for text based rpg.

    I don't know how they incorporate AI, but depending on your needs my understanding is that text based adventures rely more on your ability to program multiple permutations rather than AI.

    Check out wikipedia on it:

    http://en.wikipedia.org/wiki/Interactive_fiction

    I apologise if I have misunderstood what you are looking for.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Text based game
    By wipeout4wh in forum C Programming
    Replies: 12
    Last Post: 03-26-2009, 04:39 PM
  2. How to use FTP?
    By maxorator in forum C++ Programming
    Replies: 8
    Last Post: 11-04-2005, 02:17 PM
  3. Check out My Text Rpg Game
    By knight543 in forum C++ Programming
    Replies: 3
    Last Post: 05-17-2002, 10:40 PM
  4. Text based GUI?
    By jon_nc17 in forum C++ Programming
    Replies: 1
    Last Post: 05-16-2002, 11:45 AM
  5. Text Based Game
    By drdroid in forum C++ Programming
    Replies: 2
    Last Post: 02-18-2002, 05:21 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21