steelmanronald06 Posted March 9, 2007 Share Posted March 9, 2007 I've heard of AIML and using C to program AI programs. Can I get suggestions? Links to some beginning tuts on AI programming? Advice? Has anyone programeed any AI software before? Quote Link to comment https://forums.phpfreaks.com/topic/41904-ai-programming/ Share on other sites More sharing options...
fert Posted March 9, 2007 Share Posted March 9, 2007 I've used some simple AI for games before the easiest that I know of is this if(x1>x2) x1--; else if(x1<x2) x2++; if(y1>y2) y1--; else if(y1<y2) y1++l that code will make something "chase" something else. I remember I got this code from a good C programming website: http://www.cprogramming.com/tutorial.html#aitutorial Quote Link to comment https://forums.phpfreaks.com/topic/41904-ai-programming/#findComment-203213 Share on other sites More sharing options...
.josh Posted March 9, 2007 Share Posted March 9, 2007 AI is such a broad term. Virtually any program or script you write that has even a single condition in it can be considered AI. What I suspect you mean by AI is simulated human behavior, right? Quote Link to comment https://forums.phpfreaks.com/topic/41904-ai-programming/#findComment-203221 Share on other sites More sharing options...
roopurt18 Posted March 9, 2007 Share Posted March 9, 2007 I wrote an A.I. program to simulate a refrigerator that suggested a weekly grocery list based on what was purchased the week before and how heavily the fridge had been used during the current week. The most I could recommend is the books we used for the course but IMO they weren't that great. Quote Link to comment https://forums.phpfreaks.com/topic/41904-ai-programming/#findComment-203223 Share on other sites More sharing options...
steelmanronald06 Posted March 9, 2007 Author Share Posted March 9, 2007 Well, i didn't know if there was a language that was preferred. AIML and C are two that is highly suggested on google....so, i wanted some live opinions. Quote Link to comment https://forums.phpfreaks.com/topic/41904-ai-programming/#findComment-203234 Share on other sites More sharing options...
roopurt18 Posted March 9, 2007 Share Posted March 9, 2007 Prolog is used a lot in A.I. from my understanding. I wrote my fridge in C++. Quote Link to comment https://forums.phpfreaks.com/topic/41904-ai-programming/#findComment-203246 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.