AI:Development:Lang:C: Difference between revisions

From Spring
Jump to navigationJump to search
Hoijui (talk | contribs)
mNo edit summary
Aegis (talk | contribs)
No edit summary
Line 1: Line 1:
[[Engine_Development|Development]] < [[AI:Development|AI Development]] < C AI Development
=Writing a Skirmish AI in C=
=Writing a Skirmish AI in C=



Revision as of 17:41, 31 August 2009

Development < AI Development < C AI Development

Writing a Skirmish AI in C

Even though this is possible, it is not recommended to write your Skirmish AI in pure C. Please consider using C++ or any of the other languages instead.

If you insist on using pure C, you may have a look at NullAI, which is a minimal implementation of a pure C AI for Spring. All the info you need to know about Spring to code your AI, are contained within the headers at {spring_source}/rts/ExternalAI/Interface/*.h.

For further info, have a look at the forum.