C Board  

Go Back   C Board > Cprogramming.com and AIHorizon.com's Artificial Intelligence Boards > General AI Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 10-02-2007, 10:09 AM   #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
TylerMoyer is offline   Reply With Quote
Old 10-02-2007, 01:30 PM   #2
Kernel hacker
 
Join Date: Jul 2007
Location: Farncombe, Surrey, England
Posts: 15,686
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.
matsp is offline   Reply With Quote
Old 10-10-2007, 03:26 PM   #3
Rampaging 35 Stone Welsh
 
abachler's Avatar
 
Join Date: Apr 2007
Posts: 2,929
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.
__________________
He is free, you say. Ah! That is his misfortune… These men… [have] the most terrible, the most imperious of masters, that is, need. … They must therefore find someone to hire them, or die of hunger. Is that to be free? - Simon Linguet

Last edited by abachler; 10-11-2007 at 10:20 AM.
abachler is offline   Reply With Quote
Old 10-10-2007, 03:41 PM   #4
Senior software engineer
 
brewbuck's Avatar
 
Join Date: Mar 2007
Location: Portland, OR
Posts: 5,381
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.
brewbuck is offline   Reply With Quote
Old 10-12-2007, 06:40 AM   #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.
goatslayer is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

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


All times are GMT -6. The time now is 12:20 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

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