link123 Posted September 12, 2008 Share Posted September 12, 2008 Hey I was wondering if anybody knew a place where i could read about AI programming. preferably in C++. I've googled for it but i havent found any tutorial.. thanks. Quote Link to comment Share on other sites More sharing options...
Deveant Posted September 12, 2008 Share Posted September 12, 2008 http://www.cprogramming.com/tutorial.html#aitutorial Googled: "C++ AI programming" (with out the quotes) and it came up with a fair few Tutorials and shit loads of information and ideas. Quote Link to comment Share on other sites More sharing options...
RogueHart Posted September 13, 2008 Share Posted September 13, 2008 if you can just find ai theory it wouldnt be hard coming up with your own ai for games or chat progs Quote Link to comment Share on other sites More sharing options...
r4v37t Posted September 22, 2008 Share Posted September 22, 2008 WoW I'm want learn too. How AI programming algorithm? Quote Link to comment Share on other sites More sharing options...
high6 Posted September 23, 2008 Share Posted September 23, 2008 if, tons and tons of ifs. Quote Link to comment Share on other sites More sharing options...
CrashandDie Posted September 23, 2008 Share Posted September 23, 2008 if, tons and tons of ifs. Actually, far from it. There's more than one AI paradigm, but there is something that skims through every time. What you have to understand, is that AI is no different that any other kind of application. You have input, and you try to get output. The kind of input and output will vary greatly from say, you're average GUI program, but only in the way your data is interpreted. Saying you want to code AI is actually extremely broad. There's AI as in language (a talking bot), or AI as in movement (having a robot move around the room), but again, it's always the same thing. Understanding what you have to do next. The usual structure of a game is: while (running) { while (event = eventsToBeTreated()) onEvent(event); onLoop(); if (needsRendering) onRender(); } And AI is not so different. while (alive) { while (event = eventsToBeTreated()) onEvent(event); onLoop(); if (needsAction) onAction(); } The biggest part after that, is of course to understand what kind of events you're waiting for. How to interpret them. Spending some time designing the event detection is extremely important. The action, in the end, is fairly straightforward, but it only is any good if you've detected your input correctly. Quote Link to comment Share on other sites More sharing options...
stingwray Posted October 2, 2008 Share Posted October 2, 2008 AI is extremely vast, you need to look at what you want to do first. Then choose the right tool for the job. C++ might be ok for somethings but you'll want a Logic language for some of the more advanced AI principles, such as resolution and planning. Something like Prolog would be great as lots of people use it for just that. Quote Link to comment Share on other sites More sharing options...
RogueHart Posted October 2, 2008 Share Posted October 2, 2008 http://see.stanford.edu Quote Link to comment 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.