AI:Development:Lang:C

From Spring
Jump to navigationJump to search

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.