[draft] prerequisite for an AI to be added as submodule to spring

[draft] prerequisite for an AI to be added as submodule to spring

Here is where ideas can be collected for the skirmish AI in development

Moderators: hoijui, Moderators

Post Reply
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

[draft] prerequisite for an AI to be added as submodule to spring

Post by abma »

1. licensed as GPL2+
2. must integrate into the existing build system
3. git repository is hosted spring organization at github: https://github.com/spring/
4. doesn't add new external dependencies
5. has no git submodules
6. can play at least one game in spring
7. no compile warnings (clang + gcc) with "default" springs compile flags
8. no "bloat" (i.e. directly adding large amounts of source code from other projects like boost)
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: [draft] prerequisite for an AI to be added as submodule to spring

Post by abma »

explanation / reasons:
1. nothing to explain here
2. cmake currently is a must. adding a new build system just for an ai is way to much work
3. git repositories can vanish: when stored on a single place the risk that sth. breaks because of this is pretty low
4. spring already has a lot of external dependencies. the more dependencies it has the more difficult is it to compile and maintain it: it should be kept simple
5. see 3. + 4. also it slows down cloning
6. thats the minimal requirement to be useful

questions? suggestions?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: [draft] prerequisite for an AI to be added as submodule to spring

Post by AF »

What does this mean for AIs written in languages such as Java or python that require dependencies such as the JVM?
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: [draft] prerequisite for an AI to be added as submodule to spring

Post by abma »

AF wrote:What does this mean for AIs written in languages such as Java or python that require dependencies such as the JVM?
The ai-interfaces are no submodules: the ai only depends on the interface beeing present.
Post Reply

Return to “AI”