Release: | 4 April 2001 | Subsequent Releases |
---|---|---|
Author: | Andrew n marshall | Sourceforge Project: utbot
|
URL: | http://www.isi.edu/~ascholer/gamebots/ | project summary:
http://sourceforge.net/projects/utbot/ project website: http://utbot.sourceforge.net/ |
This will start the Java Client with the ability to run the ExampleBot demo, which is good for checking out the environment.
JavaBot-source-xxxxxxxx.zip
), then build the jar file (see building
sources below) otherwise, you should have a file named JavaBots.jar already
built in the directory where you unzipped the release to. java -jar JavaBots.jar
NOTE: On Windows systems with Sun's JDK 1.3, you should be able to just
double click the JavaBot.jar file to get the same effect as this step.In order to run your own bots, you will also need to add your development classpath to the CLASSPATH environment variable. (Actually, if you look at the BotRunnerApp source, you'll see I'm already attempting to fix this.)
All bots should extend the class edu.isi.gamebots.client.Bot
.
Load your by typing there class name (with dots, not slashes) in the "Name" field of the "Add Bot" dialog.
>ant <targetname>
<targetname>
is one of the build targets compile
(default)
lib
(creates executable jar file)
doc
(builds javadoc)
clean
(cleans misc. files out of source and removes .class
files)
source-release
(creates a zip file for a source release)
all-release
(creates a zip file for a release that includes
source and built jar file and docs)
release
(builds both source-release and all-release)