]> git.cworth.org Git - ttt/blobdiff - PROTOCOL
2005-11-24 Carl Worth <cworth@cworth.org>
[ttt] / PROTOCOL
index 13391ffc2392008b35db92b3d69a02ed135a40da..519b1bab79dca6e820428ae48ac787b903bf77c6 100644 (file)
--- a/PROTOCOL
+++ b/PROTOCOL
@@ -41,14 +41,11 @@ Document Conventions
     use must be done through some external mechanism.  Once connected,
     the client must identify itself:
     
-    HELO [<username>]
+    HELO <username>
     
     ->
     
-    HELO <servername> <username> <server-addr> <server-port>
-
-    If the client doesn't supply <username>, the server will compute
-    one and return it.
+    HELO <username> <server-addr> <server-port>
 
     Possible errors: INVALIDNAME
 
@@ -88,6 +85,8 @@ Document Conventions
 
        QUIT
 
+       Disconnects the client from the server.
+
     1.2.5. Version
 
        VERSION <client-version-number>
@@ -163,7 +162,7 @@ Document Conventions
 
        Possible errors: NOTINGAME
     
-    1.5.3. Making a move
+    1.4.3. Making a move
 
        MOVE <number>
     
@@ -261,7 +260,7 @@ Document Conventions
     
        ERROR INVALIDNAME
     
-       All names must be unique.
+       All names must be of non-zero length and must be unique.
 
        Possibly returned by: HELO
 
@@ -287,7 +286,7 @@ Document Conventions
     
        A non-numeric value was supplied where a number was required
        
-    3.2.4. Not color
+    3.2.4. Not a grid number
     
        ERROR NOTGRID
     
@@ -301,7 +300,7 @@ Document Conventions
 
     Errors from game management commands
     
-    3.3.1. No such game
+    3.4.1. No such game
        
        ERROR NOGAME