AI:NullOOJavaAI: Difference between revisions

From Spring
Jump to navigationJump to search
Hoijui (talk | contribs)
mNo edit summary
Hoijui (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{AI|NullOOJavaAI|hoijui|0.1 (spring GIT)|Supports everything / Does nothing|Finnished|-}}
{{AI|NullOOJavaAI|[[User:hoijui|hoijui]]|0.1|Supports everything / Does nothing|Finnished|GNU GPL V2+|Java|-}}


=== Description ===
== Null Object Oriented Java AI ==
 
==== Description ====
This Skirmish AI is written in pure Java, to prove that the Java Object Oriented Wrapper works. It consists of only the very minimum that is needed for a spring Java OO Skirmish AI to load.  
This Skirmish AI is written in pure Java, to prove that the Java Object Oriented Wrapper works. It consists of only the very minimum that is needed for a spring Java OO Skirmish AI to load.  


Line 8: Line 10:
This AI uses the [[AIInterface:Java|Java AI Interface Library]]. See also [[AI:NullJavaAI|Null Java AI]].
This AI uses the [[AIInterface:Java|Java AI Interface Library]]. See also [[AI:NullJavaAI|Null Java AI]].


=== Download ===
==== Download ====
It comes with spring source, current development version (GIT branch ''caiinterface''), reffer to [[Building_spring#Obtaining_the_Source|Obtaining the Source]].
It comes with spring source. Reffer to [[Building_spring#Obtaining_the_Source|Obtaining the Source]].


=== Known Crashes ===
==== Bugs ====
'''Known Crashes:'''
* None
* None


=== How to compile ===
Please report bugs under
[http://springrts.com/mantis/ Mantis]
to the AI subproject.
 
==== How to compile ====
possible ways to compile:
possible ways to compile:
* spring build environemnts. either Scons or CMake. refer to [[Building_spring|Building spring]]
* spring build environemnts. either Scons or CMake. refer to [[Building_spring|Building spring]]
Line 20: Line 27:
* Ant build file under ''{spring_source}/AI/Skirmish/NullOOJavaAI/bin''. First edit ''ant.properties'', then run ''ant''
* Ant build file under ''{spring_source}/AI/Skirmish/NullOOJavaAI/bin''. First edit ''ant.properties'', then run ''ant''


=== How to install ===
==== How to install ====
'''The easy way'''
'''The easy way'''


Line 30: Line 37:
from: ''{spring_source}/AI/Skirmish/NullOOJavaAI/''<br>
from: ''{spring_source}/AI/Skirmish/NullOOJavaAI/''<br>
to: ''{spring_data_dir}/AI/Skirmish/NullOOJavaAI/{NullOOJavaAI-version}/''
to: ''{spring_data_dir}/AI/Skirmish/NullOOJavaAI/{NullOOJavaAI-version}/''
* copy the created ''ai.jar'' and ''ai-src.jar'' to ''./''
* copy the created ''SkirmishAI.jar'' and ''SkirmishAI-src.jar'' to ''./''
* copy ''data/*'' to ''./''
* copy ''data/*'' to ''./''




''' [[AIs|<- Back to AI page]]'''
'''[[AI:Skirmish:List|<- Back to AI page]]'''
[[Category:AI]]
 
[[Category: AI]]

Latest revision as of 11:28, 8 June 2009

NullOOJavaAI
Developer
hoijui
Version
0.1
Mod Support
Supports everything / Does nothing
Status
Finnished
License
GNU GPL V2+
Interface
Java
Wrapper
-
<- Back to List of AIs

Null Object Oriented Java AI

Description

This Skirmish AI is written in pure Java, to prove that the Java Object Oriented Wrapper works. It consists of only the very minimum that is needed for a spring Java OO Skirmish AI to load.

NullOOJavaAI is an empty implementation, meaning it will load, but do absolutely nothing. It can be used to test the Java OO wrapper or for exploring a map if one wants the end game screen not to appear. If you want to write your own Java AI, we recommend you to use this AI as a template.

This AI uses the Java AI Interface Library. See also Null Java AI.

Download

It comes with spring source. Reffer to Obtaining the Source.

Bugs

Known Crashes:

  • None

Please report bugs under Mantis to the AI subproject.

How to compile

possible ways to compile:

  • spring build environemnts. either Scons or CMake. refer to Building spring
  • OS specific build script: {spring_source}/AI/Skirmish/NullOOJavaAI/bin/java_compile.(sh|bat)
  • Ant build file under {spring_source}/AI/Skirmish/NullOOJavaAI/bin. First edit ant.properties, then run ant

How to install

The easy way

Using Ant:
Go to {spring_source}/AI/Skirmish/NullOOJavaAI/bin and edit ant.properties. then run ant dist.

The uncomfortable way

from: {spring_source}/AI/Skirmish/NullOOJavaAI/
to: {spring_data_dir}/AI/Skirmish/NullOOJavaAI/{NullOOJavaAI-version}/

  • copy the created SkirmishAI.jar and SkirmishAI-src.jar to ./
  • copy data/* to ./


<- Back to AI page