Advertisement

Beginning AI

Started by June 21, 2010 07:50 AM
9 comments, last by IADaveMark 14 years, 4 months ago
Hi all !
I am a high school senior and am pretty new to AI programming. I have always designed games without AI, but now i am starting up with AI. I had a simple AI in one of my games that was a combination of Breakout and pong, and i also designed an AI for Tic-Tac-Toe game. Although i didn't used minimax algorithm nor did i had preset moves for my AI, but i designed one that could "Think" in a different way.

Anyhow, thats my past experience with AI and now i want to get deep into it. Can someone please refer me to some nice tutorials and resources where i can start learning AI programming(C++).

Thanks in advance !
Here's your best ressource
Advertisement
That was nice :)
Anyway...i have done a lot with that....But i prefer tutorials recommended by others more than those what i get on Google.
Our standard answer around here:


Programming Game AI by Example

Dave Mark - President and Lead Designer of Intrinsic Algorithm LLC
Professional consultant on game AI, mathematical modeling, simulation modeling
Co-founder and 10 year advisor of the GDC AI Summit
Author of the book, Behavioral Mathematics for Game AI
Blogs I write:
IA News - What's happening at IA | IA on AI - AI news and notes | Post-Play'em - Observations on AI of games I play

"Reducing the world to mathematical equations!"

Do ya know about something cool thats FREE ??
Thanks
Generally no. AI is not something you can just simply write up in a tutorial because there is very rarely one way to do something. It is so dependent on the game situation, that you actually have to do more thinking and reasoning that copy/pasting.

Dave Mark - President and Lead Designer of Intrinsic Algorithm LLC
Professional consultant on game AI, mathematical modeling, simulation modeling
Co-founder and 10 year advisor of the GDC AI Summit
Author of the book, Behavioral Mathematics for Game AI
Blogs I write:
IA News - What's happening at IA | IA on AI - AI news and notes | Post-Play'em - Observations on AI of games I play

"Reducing the world to mathematical equations!"

Advertisement
Think of AI as the logic behind what something does. Like what InnocuousFox said earlier, the AI is really dependent on the game. Game AI in particular models behavior as opposed to intelligence. Intelligence is important as well, but the Ai cannot be so intelligent that it beats the player every time, therefore detracting from the fun of the game. The simplest AI can be nothing more than telling the unit to walk around the objective in a circle and wait for the player to come within sight of the unit. If you've every played Halo, you can see this sort of AI in action. In Resistance: Fall of Man, the leapers do nothing but charge the player. Imagine how simple of an AI that is. It can be more complex, depending on the situation. I have found that AI is something that does not necessarily need to be taught, but it just needs a starting point. Try experimenting with different things. Start from the simple patrol in a circle and attack idea, and then add on to it. Add on a retreat function, or a reinforcements call function. Then go from there. I hope that this helped :)

Good luck!

No one expects the Spanish Inquisition!

Hmm..I will try some stuff around...Thanks for your advice...
http://www.aihorizon.com/
http://ai-programming.com/

they give information about what AI consists of etc.
I'm currently reading Behavioral Mathematics for Game AI, and it seems pretty good :)

This topic is closed to new replies.

Advertisement