AI:Development:Lang:C: Difference between revisions

From Spring
Jump to navigationJump to search
Aegis (talk | contribs)
No edit summary
Flozi (talk | contribs)
m 1cat
Line 10: Line 10:


[[Category: AI]]
[[Category: AI]]
[[Category: Development]]

Revision as of 19:18, 20 March 2013

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.