X-Git-Url: https://git.cworth.org/git?p=ttt;a=blobdiff_plain;f=PROTOCOL;h=c507ffeb27ca47eaa9c9098c301486b22916ffd3;hp=fe8905b2d0117639ff4089dea368429b18456294;hb=b95a33abda8faac3638691dde70de0d59fadb30f;hpb=306a4054b4a0732ff42ab2548ffc020043ab3cf9 diff --git a/PROTOCOL b/PROTOCOL index fe8905b..c507ffe 100644 --- a/PROTOCOL +++ b/PROTOCOL @@ -41,15 +41,12 @@ Document Conventions use must be done through some external mechanism. Once connected, the client must identify itself: - HELO [] + HELO -> HELO - If the client doesn't supply , the server will compute - one and return it. - Possible errors: INVALIDNAME 1.2. Global commands @@ -88,6 +85,8 @@ Document Conventions QUIT + Disconnects the client from the server. + 1.2.5. Version VERSION @@ -174,9 +173,9 @@ Document Conventions indicates a number in the tic-tac-toe grid as follows: - 1|2|3 - 4|5|6 - 7|8|9 + 0|1|2 + 3|4|5 + 6|7|8 Possible errors: NOTINGAME, NOTYOURMOVE, NOTGRID @@ -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