AI:Development:Lang:C: Difference between revisions
From Fightorder
More actions
interaidev>Flozi AI -> AI Dev |
m 1 revision imported |
(No difference)
| |
Latest revision as of 22:08, 23 February 2026
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.