AI programming
Hi,
Can anybody tell how to write a simple AI source code??
Because I have no idea how it works...
Thanks
cu
DK_L
What is the AI going to be used for? What type of game/project? AI is inplemeted differently based on what it is for.
Domini
Domini
Domini Miracle Man Studios
Very, very simple player-tracking code:
That''s a start... you probably get the idea that it''s mostly just if-this-do-that. Of course, there are higher-level things that are more abstract, like neural nets, but that''s a little too advanced for a simple example.
lntakitopi@aol.com | http://geocities.com/guanajam/
if(playerx < monsterx) monsterx--;if(playerx > monsterx) monsterx++;if(playery < monstery) monstery--;if(playery > monstery) monstery++;
That''s a start... you probably get the idea that it''s mostly just if-this-do-that. Of course, there are higher-level things that are more abstract, like neural nets, but that''s a little too advanced for a simple example.
lntakitopi@aol.com | http://geocities.com/guanajam/
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement