Changes between Version 10 and Version 11 of ProtocolZero


Ignore:
Timestamp:
May 31, 2011 12:37:16 PM (13 years ago)
Author:
jherwitz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ProtocolZero

    v10 v11  
    44
    55== Overview ==
    6 ProtocolZero commands are sent as plaintext over a TCP/IP socket to Quake on port 6000. Currently, any new connections to this port result in the creation of a new bot. Each command should be terminated with a newline character.
     6ProtocolZero commands are sent as plaintext over a TCP/IP socket to Quake on port 6000. We have designed a simple grammar based on RISC ISA to streamline the parsing process, named [QuagentISA]. Currently, any new connections to this port result in the creation of a new bot. Each command should be terminated with a newline character.
    77
    88Quagents model their behavior in the form of a double-ended queue (note: some nastiness here since there's no dynamic memory allocation - but it seems possible to 'fake it' pretty well with two arrays). Commands can be pushed onto either the front ("now" commands) or the end ("then" commands). Some commands may generate automatic subcommands that are pushed onto the front of the queue - for example, "get railgun" might insert a bunch of moves first.