Simple AI

Hi guys,
I just have to do a simple program wich includes a simple AI. I have to do this for school and i want to ask if someone of you could give me some hints for programming a simple AI (a bit more complicated as pong…). I don’t know much about AI but i thought that some of you guy could help me in my misery…

thx a lot

be more specific.

And if the deadline is tomorrow, forget about it.

No no, i have to finish it untill march or something :wink:

So, i’m searching for a tutorial or something wich could help me to start programming a game which implements a simple AI.
Maybe you know a goob eBook about that stuff or a tutorial etc

there are loads of examples on AI. pathfinding is a good one, and there are alot of sources on the net for it.

Boids is another pathfinding-esque, group behaviour, avoidance and attraction, steering…etc. There isn’t alot on the internet about it, but theres enough to get you through.

Pattern recognition, neural networks, agent behaviour, state machines (finite or fuzzy), genetic algorithms are all other examples on AI.

Search and scower the internet for some of them until you find an interest, then code like mad :slight_smile:

Look here http://ai-depot.com/

Hey, if they don’t specify what kind of AI you have to use, why not try the simplest? Like in ROBOTRON: 2084.

if(robot.x>player.x) robot.x–;
if(robot.x<player.x) robot.x++;
if(robot.y>player.y) robot.y–;
if(robot.y<player.y) robot.y++;

That’s about as simple as AI can get. Still makes for a challenging game, though!

ariiiiise zombie thread!

i once saw a thread being revived from 2003. this is nothing. 8)

Yeah I suppose I should probably double-check the date of the last post next time…