]> git.cworth.org Git - ttt/blobdiff - PROTOCOL
2005-12-07 Richard D. Worth <richard@theworths.org>
[ttt] / PROTOCOL
index d765ba0ed853e9f9351289f7ee27421056d70380..91c8545b88ac96f482ca5c27893a3715ce10ba07 100644 (file)
--- a/PROTOCOL
+++ b/PROTOCOL
@@ -201,7 +201,7 @@ Document Conventions
         _|X|_
         X|O|O"
     
-       Possible errors: NO_NAME_SET, NO_GAME, NOT_IN_GAME
+       Possible errors: NO_NAME_SET, NO_GAME
     
     1.4.2. Part
     
@@ -213,7 +213,7 @@ Document Conventions
     
        Departs the specified game
 
-       Possible errors: NO_NAME_SET, NO_GAME, NOT_IN_GAME
+       Possible errors: NO_NAME_SET, NO_GAME
     
     1.4.3. Making a move
 
@@ -230,8 +230,8 @@ Document Conventions
        3|4|5
        6|7|8
     
-       Possible errors: NO_NAME_SET, NO_GAME, NOT_IN_GAME,
-       NOT_PLAYING, NOT_YOUR_MOVE, NOT_GRID
+       Possible errors: NO_NAME_SET, NO_GAME, NOT_PLAYING,
+       NOT_YOUR_MOVE, NOT_GRID, NOT_VALID_MOVE
     
 2. Asynchronous notification.  
 
@@ -376,7 +376,7 @@ Document Conventions
        number.
 
        Possibly returned by: MOVE
-    
+
 3.3. Global command errors.
 
     There are no global command errors from any of the global
@@ -436,3 +436,11 @@ Document Conventions
            A move was submitted during the other player's turn.
 
            Possibly returned by: MOVE
+
+       3.6.2.2. Not a valid move
+
+           ERROR NOT_VALID_MOVE
+
+           A move was submitted for a cell that is occupied.
+
+           Possibly returned by: MOVE