A simple Battlesnake AI written in Java.
Visit https://docs.battlesnake.io for API documentation and instructions for running your AI.
This snake is built using a lightweight http server Spark framework - http://sparkjava.com/documentation
mvn compile exec:exec
Snake will start up on port 8080
This snake has also been run from within Intellij successfully.
mvn compile test
mvn compile package
Will result in a jar file in
You can then run this file with the command
java -jar target/starter-snake-java.jar
heroku create [APP_NAME]
git push heroku master
or visit http://APP_NAME.herokuapp.com.
heroku logs --tail