X-Git-Url: https://git.cworth.org/git?p=ttt;a=blobdiff_plain;f=PROTOCOL;h=91c8545b88ac96f482ca5c27893a3715ce10ba07;hp=ad6369c25857f591422abe21bbdefe83cc5b5108;hb=HEAD;hpb=747a73feb09523f99f5fb65dcb048ba38cc6eeb6 diff --git a/PROTOCOL b/PROTOCOL index ad6369c..91c8545 100644 --- a/PROTOCOL +++ b/PROTOCOL @@ -149,7 +149,7 @@ Document Conventions ACCEPT - Possible errors: NO_NAME_SET, NO_USER + Possible errors: NO_NAME_SET, NO_USER, NO_INVITE 1.3.3. Retracting an invitiation @@ -159,7 +159,7 @@ Document Conventions RETRACT - Possible errors: NO_NAME_SET, NO_USER + Possible errors: NO_NAME_SET, NO_USER, NO_INVITE 1.3.3. Declining an invitation @@ -169,7 +169,7 @@ Document Conventions DECLINE - Possible errors: NO_NAME_SET, NO_USER + Possible errors: NO_NAME_SET, NO_USER, NO_INVITE 1.4. In-game commands @@ -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 @@ -386,7 +386,16 @@ Document Conventions Errors from game management commands - 3.4.1. No such game + 3.4.1. No invitiation from/for specified user + + ERROR NO_INVITE + + An invitiation action was attempted where no invitation + exists. + + Possibly returned by: ACCEPT, RETRACT, DECLINE + + 3.4.2. No such game ERROR NO_GAME @@ -427,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