Skip to content

paulkane/battlesnake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

battlesnake

application-properties

updated value snake.name.prefix to your prefix

Strategy

Implement your own MoveStrategy

public interface MoveStrategy {
    String getName();

    MOVE move(BattleSnakeRequest moveRequest);
}

Run the application

The Application with --enable-preview

Point battle snake to your application

make sure you name your snake the same as your Strategy name

Docker everything

The simplest way to get the engine and the board running is:

  • open two terminals

battlesnake engine

docker run --rm --name battlesnake-server -p3004:3004 -p3005:3005 -p3010:3010  battlesnakeio/engine engine dev

battlesnake board

docker run --rm --name battlesnake-board -p3009:80  battlesnakeio/board

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published