AI:Development:Lang:C

From Spring
Revision as of 14:45, 3 June 2009 by Hoijui (talk | contribs) (page created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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.