/vindinium-starter-clojure

Clojure starter bot for Vindinium

Primary LanguageClojureMIT LicenseMIT

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) 1)

> ; 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.