Zappy Protocols

This document describes the communication protocols used in the Zappy project.

GUI Protocol

The GUI protocol defines messages exchanged between the server and the GUI client.

### Symbols and Meanings

  • X: width or horizontal position

  • Y: height or vertical position

  • q0 to q6: quantities of resources - q0: food - q1: linemate - q2: deraumere - q3: sibur - q4: mendiane - q5: phiras - q6: thystame

  • n: player number

  • O: orientation (1=N, 2=E, 3=S, 4=W)

  • L: player or incantation level

  • e: egg number

  • T: time unit

  • N: name of the team

  • R: incantation result

  • M: message

  • i: resource number

### Server to Client Messages

For the AI client protocol, please refer to the developer/usage_ai.rst.