Page 1 of 1

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

Posted: 03 Oct 2016, 02:12
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)

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

Posted: 03 Oct 2016, 02:17
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?

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

Posted: 04 Oct 2016, 15:26
by AF
What does this mean for AIs written in languages such as Java or python that require dependencies such as the JVM?

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

Posted: 04 Oct 2016, 15:33
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.