AI:Development:Lang:Python: Difference between revisions

From Spring
Jump to navigationJump to search
Abma (talk | contribs)
New page: == 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 reposit...
 
Abma (talk | contribs)
No edit summary
Line 1: Line 1:
== Spring PyAI ==
For installing please look at the interface page [[AIWrapper:PyAI]]
The Spring PyAI Interface can be used to write skirmish AIs in Python.


=== Code ===
An [http://springpyai.git.sourceforge.net/git/gitweb.cgi?p=springpyai/springpyai;a=blob;f=test/NullPythonAI/src/nullai.py; example AI] can be found in the sourcecode of the interface.
https://sourceforge.net/projects/springpyai/


=== Building ===
Currently it does nothing. :-)
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 ===
Please report bugs / feedback to the [http://sourceforge.net/projects/springpyai/ project site] of the interface
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 09:21, 25 May 2010

For installing please look at the interface page AIWrapper:PyAI

An example AI can be found in the sourcecode of the interface.

Currently it does nothing. :-)

Please report bugs / feedback to the project site of the interface