AIWrapper:PyAI: Difference between revisions

From Spring
Jump to navigationJump to search
initial
 
Line 1: Line 1:
== Spring PyAI ==
== Spring PyAI ==
The Spring PyAI wrapper, wrapps the C Interface. At the moment there is no Object Structure present.
The Spring PyAI Interface can be used to write skirmish AIs in Python.  


=== Code ===
=== Code ===
https://sourceforge.net/projects/springpyai/
https://sourceforge.net/projects/springpyai/
=== Building ===
Check out the repository into the interface directory of the Spring sources and name the folder "Python". The build system of Spring should build and install the interface itself from this point. There is also a NullPythonAI in the test Directory.
=== Status ===
Most functions and Datatypes should work. However, there is no typechecking at this point and the interface may crash if you use a wrong type. All classes and functions are generated and because of this, there is no further documentation available.
Check the NullPythonAI for something to start with.

Revision as of 18:25, 14 May 2010

Spring PyAI

The Spring PyAI Interface can be used to write skirmish AIs in Python.

Code

https://sourceforge.net/projects/springpyai/

Building

Check out the repository into the interface directory of the Spring sources and name the folder "Python". The build system of Spring should build and install the interface itself from this point. There is also a NullPythonAI in the test Directory.

Status

Most functions and Datatypes should work. However, there is no typechecking at this point and the interface may crash if you use a wrong type. All classes and functions are generated and because of this, there is no further documentation available.

Check the NullPythonAI for something to start with.