Game programming

Moderators: None (Apply to moderate this forum)
Number of threads: 2070
Number of posts: 5361

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
IA for games Posted by Samurai on 7 Apr 2003 at 8:18 AM
Hi,

anyone knows any good book or online source to lear something about IA for games?

Bye
Report
Re: IA for games Posted by kreitler on 8 Apr 2003 at 2:16 AM
Hey Samurai,
A lot of people I know have "AI Programming Wisdom", though I've never read it. Also, if you have a specific kind of game AI you want to write (chess, war game, first person shooter, etc), people might be able to post more specific answers to your question.

Cheers,

Kreitler

: Hi,
:
: anyone knows any good book or online source to lear something about IA for games?
:
: Bye
:

Report
Re: IA for games Posted by Samurai on 21 Apr 2003 at 6:12 AM
Thanks for the reply.

I think in some kind of turn based strategy game, a war game actually. Any more specific help?

Bye

: Hey Samurai,
: A lot of people I know have "AI Programming Wisdom", though I've never read it. Also, if you have a specific kind of game AI you want to write (chess, war game, first person shooter, etc), people might be able to post more specific answers to your question.
:
: Cheers,
:
: Kreitler
Report
Re: IA for games Posted by kor on 21 Apr 2003 at 1:53 PM
: Thanks for the reply.
:
: I think in some kind of turn based strategy game, a war game actually. Any more specific help?
:
: Bye
:
: : Hey Samurai,
: : A lot of people I know have "AI Programming Wisdom", though I've never read it. Also, if you have a specific kind of game AI you want to write (chess, war game, first person shooter, etc), people might be able to post more specific answers to your question.
: :
: : Cheers,
: :
: : Kreitler
:
I personally feel turn based ai is far harder than something simple like a first person shooter, but I'll see what I can do, but since I don't know any books or anything, so I'll just toss out some ideas...
First, determine how aggressive and defensive it should be, and if it should be infallable or not. It's easy to force a draw, minimum, if you know the terrain in advance, and have sufficient information about the systems, and can chose one or two things. It's easy to make a crappy ai and easy to make one that can't lose, the hard part is making one that can lose, but not easily.
A lot of the actual design depends on what type of war game it is. Do you get a set amount to start, or can you manufacture units? can you mine resources, or is all that fixed? can you steal resources, or just destroy other player's stuff?
Report
Re: IA for games Posted by Samurai on 22 Apr 2003 at 5:54 AM
Well, i don't know. I mean, i have the game idea but nothing in concrete yet. I was looking for some information, learning the process of game programing and all that not fun but necessary stuff. Now i'm searching for some information of AI for games. I'm in the learning process :D
Report
Re: IA for games Posted by kreitler on 22 Apr 2003 at 6:55 AM
Hi Samurai,
Here are some general-purpose topics, books, and links to help you in your search for AI info.

First off, you might want to read about Finite State Machines. All games use FSMs at some point, and often these are the main driving force behind the AI. You might also look at "rule based systems", "genetic algorithms", and--if you want to get esoteric--"neural networks".

Second, you might find some of these links useful. This site (www.ai-depot.com) is dedicated to AI. I just stumbled upon it using an Internet search--but it looks excellent. Also, you might want to visit www.gamedeveloper.com. This magazine/web site is written by game industry people for game industry people. The AI algorithms you'll find there have been applied to real games like Age of Empires. Note that you'll probably have to register to read the articles in the archives--but registration is free and you won't get a lot of spam if you sign up. Finally, this site (www.sleepinggiantsoftware.com/FGJ) has a series of tutorials that cover writing a Battleship game in Java. Tutorial #5 explains how to create the AI code for the computer opponent, and shows you the code required. It's very simple AI, but it's easy for a beginner to understand.

Finally, you might want to investigate some books. I've heard several people recommend "AI Programming Wisdom" and "AI Programming Gems". If you search Amazon.com for "Artificial Intelligence", you'll find several good titles, complete with user reviews to help you select the good and leave the rest.

I hope this helps.

Kreitler


: Well, i don't know. I mean, i have the game idea but nothing in concrete yet. I was looking for some information, learning the process of game programing and all that not fun but necessary stuff. Now i'm searching for some information of AI for games. I'm in the learning process :D
:

Report
Re: IA for games Posted by Samurai on 22 Apr 2003 at 7:13 AM
: Hi Samurai,
: Here are some general-purpose topics, books, and links to help you in your search for AI info..............
: : Kreitler

Thanks Kreitler. This information will be very useful. Thanks.

Bye

Report
Re: IA for games Posted by kor on 23 Apr 2003 at 3:35 PM
: Well, i don't know. I mean, i have the game idea but nothing in concrete yet. I was looking for some information, learning the process of game programing and all that not fun but necessary stuff. Now i'm searching for some information of AI for games. I'm in the learning process :D
:
As you may have guessed by now, I'm more useful with specific questions, like "how do I get it to do this", rather than theory, since I have no theory or books to back me up. However, I've never failed yet, so ask away.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.