Skip to main content

Protocol

Player Actions and Communication Protocol

Each player can perform specific actions, communicated via character strings that end with a newline. The server responds with a confirmation or an error.

ActionCommandTime LimitResponse
Move up one tileForward7/fok
Turn 90° rightRight7/fok
Turn 90° leftLeft7/fok
Look aroundLook7/f[tile1, tile2, ...]
InventoryInventory1/f[linemate n, sibur n, ...]
Broadcast textBroadcast7/fok
Number of team unused slotsConnect_nbr-value
Fork a playerFork42/fok
Eject players from this tileEject7/fok/ko
Death of a player--dead
Take objectTake object7/fok/ko

You want to create your command? Go to the handler.