updated value snake.name.prefix
to your prefix
Implement your own MoveStrategy
public interface MoveStrategy {
String getName();
MOVE move(BattleSnakeRequest moveRequest);
}
The Application
with --enable-preview
make sure you name your snake the same as your Strategy name
The simplest way to get the engine and the board running is:
- open two terminals
docker run --rm --name battlesnake-server -p3004:3004 -p3005:3005 -p3010:3010 battlesnakeio/engine engine dev
docker run --rm --name battlesnake-board -p3009:80 battlesnakeio/board