Artificial Life Platform ======================== Client-server protocol: The time is quantized in ticks. In each tick, the server sends sensor input to the agent. Until the next tick, the client may supply actions to take to the server. Both server input and client output follow the same format: cmd1 ... cmd2 ... ... I.e. a sequence of lines terminated by an empty line. Each line starts with a single word (command name), plus some command-specific parameters. Note that newlines are CRLF ("\r\n"), not just LF ("\n")! The following inputs (in no particular order) are supported: tick BUMP if received, the agent's move failed (or attack of non-existent agent, etc.) DEAD if received, the agent is dead! energy number of agent's energy points; disregard in case of dead agents visual ... describe tiles, clockwise from top, in the immediate vicinity of the agent format is two-character, : . for ground : - no agent a dead agent A alive agent x herp The following outputs are supported: move_dir and are integer offsets relative to the current position; may be just {-1,0,1} attack_dir and are integer offsets relative to the current position; may be just {-1,0,1} After connecting, the client specifies its desired attributes, in the same format as in normal output (line-based, terminated by empty line), but with these commands instead: move between 0 and 1, describing probability of success of move command. attack between 0 and 1. defense between 0 and 1. In general, higher rate means higher energy maintenance of the appropriate actuators.