Skip to content

gre/vindinium-starter-clojure

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Clojure starter bot for Vindinium

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Clojure 100.0%