TurtleKit 3.0.0.4

Artificial Life using MaDKit

by Fabien Michel

www.turtlekit.org

December 9 2014

TurtleKit is an open source library for simulating artificial life models based on the Logo programming language. TurtleKit is not an IDE but provides a flexible API that allows to freely extend the platform default possibilities. TurtleKit is built on top of the MaDKit library and thus benefits of all the multi-agent programming possibilities provided by this library.

TurtleKit is free software, licensed under the GNU GPL, featuring:



Documentation and resources




Testing TurtleKit 3.0.0.4

  1. unzip the TurtleKit-${turtle.version}.zip file somewhere in your file system.
  2. using java -jar turtlekit-3.0.0.4.jar launches the desktop mode of TurtleKit which could be used to test the demos.


Developing with TurtleKit 3.0.0.4

turtlekit-3.0.0.4.jar is a regular Java library which could be used by simply having it on the classpath:

  1. unzip the TurtleKit-3.0.0.4.zip file somewhere in your file system.
  2. In a new Java project, add the turtlekit-3.0.0.4.jar to the build path (e.g. in your Eclipse project).
  3. Now, you can start using the API.
  4. Optional: You can use the build.xml file in your project to easily build library and deployment files (runnable jars, Java Web Start files, etc.)

To launch your TurtleKit turtles, simply either
 
(1) use, anywhere, a main method with something like  :

    public static void main(String[] args) {
        new TurtleKit("--turtles","mypackage.myTurtleClass,15");
    }


(2) use, in a Turtle sub class, a main method with  :

    public static void main(String[] args) {
            executeThisTurtle(10);
    }


(3) use a command line such as

java -cp pathTo-turtlekit-3.0.0.4.jar:yourClassPath turtlekit.kernel.TurtleKit --turtles mypackage.myTurtleClass,20

Other command line options are described in the API of the turtlekit.kernel.TurtleKit class



Online help



Release notes



License