It is currently Thu Jan 17, 2019 4:08 pm Advanced search

Scala - alternative starter pack.

Code won't compile? Found a bug? Post here!

Scala - alternative starter pack.

Postby synesso » Thu Nov 11, 2010 11:49 am

Hi. I created an alternative starter pack for Scala. This uses more idiomatic Scala than the existing one.

It handles the I/O and parsing. You need only provide an implementation to the Bot trait's only function:

def respondTo(turnState: Seq[Planet]): Set[Order]

Because this interface is a trait and not you can test your bot with greater ease.

It also comes with SBT project config and handy shell scripts for stripping out the packages, creating the zip and running PlayGame.jar on a random map.

Please let me know of any issues.
Posts: 7
Joined: Sat Sep 25, 2010 10:52 pm

Return to Technical Issues

Who is online

Users browsing this forum: No registered users and 4 guests