Changes between Version 12 and Version 13 of ProtocolZero


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

--

Legend:

Unmodified
Added
Removed
Modified
  • ProtocolZero

    v12 v13  
    44
    55== Overview ==
    6 ProtocolZero 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.
     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 wiki: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.