Advertisement

How should the AI be coded?

Started by February 25, 2003 08:05 PM
2 comments, last by starstriker1 21 years, 9 months ago
I''d like to know what you guys think about how the AI should actually be coded: not just theory, but how the AI''s code should be structured. Whats checked first, when, where, etc. And if you need details on my game, just ask. I''m more than happy to tell you about it (like you expected anything differently). (And yes, so Geta won''t start ranting uncontrollably , I checked the resources on this site, on other sites, and with the MSN search feature. I couldn''t find much other than theory, but I want to know more about the actual practise of it.)
quote: Original post by starstriker1
(And yes, so Geta won''t start ranting uncontrollably , I checked the resources on this site, on other sites, and with the MSN search feature. I couldn''t find much other than theory, but I want to know more about the actual practise of it.)


[Rant on]

I''ll have you know, I am in complete control when I rant.

Actual practice , comes from actually doing it. Regardless of what I would suggest, or anyone else for that matter, the only way you will learn this stuff is to do it. Make a prototype. See what works and what does not. Take your best shot. Throw it out there and see what sticks to the wall.

[/Rant off]

Eric
Advertisement
Geta''s right, although I don''t know what you two''s history is....

I learnt how to make 3d engines by 1. learning the theory 2. writing 5 engines. Practice is the best way to learn. Although finding an SDK, like half-life, and see how they do there AI is always good, note that''ll only show you the classes etc, then you get to code .
quote: Original post by starstriker1
I''d like to know what you guys think about how the AI should actually be coded:


This completely depends on the type of AI you are designing and the language being used. If I were designing a probabilistic decision theory, I''d design a procedural program with a few base data types. I''d probably use C or maybe C++ for this. A symbolic processor might require me to write a Lisp program. A genetic algorithm or classifier system would definitely lead me to write an object oriented program.

Perhaps if you supply more details about the specific AI algorithm you want to implement we could be of more help.

Cheers,

Timkin

This topic is closed to new replies.

Advertisement