AI:NullJavaAI: Difference between revisions

From Spring
Jump to navigationJump to search
Hoijui (talk | contribs)
mNo edit summary
Hoijui (talk | contribs)
mNo edit summary
Line 1: Line 1:
{{AI|NullJavaAI|hoijui|0.1 (spring SVN)|Supports everything / Does nothing|Finnished|-}}
{{AI|NullJavaAI|hoijui|0.1 (spring GIT)|Supports everything / Does nothing|Finnished|-}}


=== Description ===
=== Description ===
Line 9: Line 9:


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


=== Known Crashes ===
=== Known Crashes ===

Revision as of 09:07, 15 January 2009

NullJavaAI
Developer
hoijui
Version
0.1 (spring GIT)
Mod Support
Supports everything / Does nothing
Status
Finnished
License
-
Interface
{{{7}}}
Wrapper
{{{8}}}
<- Back to List of AIs

Description

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

NullJavaAI is an empty implementation, meaning it will load, but do absolutely nothing. It can be used to test the Java AI interface 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 using the NullOOJavaAI as a template instead of this one.

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

Download

It comes with spring source, current development version (GIT branch caiinterface), reffer to Obtaining the Source.

Known Crashes

  • None

How to compile

multiple ways:

  • Spring build environments: either SCons or CMake; refer to Building spring.
  • OS specific build script: {spring_source}/AI/Skirmish/NullJavaAI/bin/java_compile.(sh|bat)

How to install

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

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


<- Back to AI page