Scala port of the Clojure ants demo
Pull request Compare This branch is 3 commits ahead, 7 commits behind pvlugter:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Ants is based on the Clojure ants simulation by Rich Hickey, and ported to Scala using Akka and Spde.


To build and run Ants you need Simple Build Tool (sbt).

Ants also requires the latest Akka. To build a local version of Akka Core:

git clone
cd akka
sbt "project akka-core" update publish-local


First time, sbt update to get dependencies:

sbt update

To run Ants use sbt run:

sbt run

Self-contained jar

Rather than building from source there is also a self-contained jar in the Downloads section. Run with:

java -jar ants-assembly-0.1.jar


Ants is based on the Clojure ants simulation by Rich Hickey.

Copyright (c) Rich Hickey. All rights reserved. The use and distribution terms for this software are covered by the Common Public License 1.0 ( which can be found in the file cpl.txt at the root of this distribution. By using this software in any fashion, you are agreeing to be bound by the terms of this license. You must not remove this notice, or any other, from this software.