REST API

The game server has a REST api accessible to the developer. For example, to view the current game log, open a browser and navigate to:

http://<your-server-address>/log

To inspect the settings of the current game:

http://<your-server-address>/game

To inspect the settings of all players:

http://<your-server-address>/players

To view the sprites created for a layer:

http://<your-server-address>/layers/0/sprites