A Giter8 template for Scalatron Bots.
- have a current version of sbt installed (>= 0.13.13 recommended)
- have Scalatron installed (use
sbt dist
to create a distribution)
- initialize via
sbt new jmhofer/scalatron-bot.g8
(this only works for sbt >= 0.13.13, otherwise please see the Giter8 docs) - setscalatronDirectory
to the path to your Scalatron distribution - go into the
sbt
console - test your bot using Specs2 and
test
- assemble your bot using
assembly
- you will find it ready for upload in thetarget
directory, namedScalatronBot.jar
- run your bot using
play
(you don't need to explicitly test or package it for this)
Written in 2016 by Joachim Hofer (jmhofer.github@johoop.de)
To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this template to the public domain worldwide. This template is distributed without any warranty. See http://creativecommons.org/publicdomain/zero/1.0/.