Clojure starter bot for Vindinium
Clojure
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
library
.gitignore
LICENSE
README.md

README.md

Clojure starter pack for vindinium

Usage

$ lein repl
> ; (re)load the code
> (require 'vindinium.core :reload)

> ; run a training game with 80 turns
> (vindinium.core/-main "training" secretkey 80)

> ; run 50 arena games
> (vindinium.core/-main "arena" secretkey 50)

Implementation

You need to implement the bot function. It takes an input argument - a map of data - print it to see what's inside. It returns an move order - one of north, south, east, west, stay.