X-Git-Url: https://git.cworth.org/git?p=ttt;a=blobdiff_plain;f=TODO;h=b6257c2be7d315f39b7c667222da2002fe3e0895;hp=0aaf8818a8d67e1c00d8152356716aee0b5527c5;hb=da40516db47b4c719aaad66a05302f13d1b6358e;hpb=4f0f5e3d16e6ec375844c711d4f88d6fec79ae45 diff --git a/TODO b/TODO index 0aaf881..b6257c2 100644 --- a/TODO +++ b/TODO @@ -1,6 +1,9 @@ Use the first letter of your name to indicate you are in the middle of working on something. +Protocol pieces +--------------- + /----- Server, implemented in ttt-server / /---- Client, implemented in ttt S C @@ -27,8 +30,8 @@ S C ✓ 2.1.1. NOTICE USER ✓ 2.1.2. NOTICE QUIT 2.1.3. Game Invitation - 2.1.3.1. NOTICE INVITE - 2.1.3.2. NOTICE ACCEPT +✓ 2.1.3.1. NOTICE INVITE +✓ 2.1.3.2. NOTICE ACCEPT 2.1.3.3. NOTICE RETRACT 2.1.3.4. NOTICE DECLINE 2.1.4. NOTICE NEWGAME @@ -44,19 +47,24 @@ S C ✓ 3.1.1. ERROR NO_NAME_SET ✓ 3.1.2. ERROR INVALID_NAME 3.2. Command format errors - 3.2.1. ERROR COMMAND +✓ 3.2.1. ERROR COMMAND ✓ 3.2.2. ERROR SYNTAX 3.2.3. ERROR NOT_NUMBER 3.2.4. ERROR NOT_GRID 3.3. Global command errors. 3.4. Game management errors. - 3.4.1. ERROR NO_GAME + 3.4.1. ERROR NO_INVITE + 3.4.2. ERROR NO_GAME 3.5. User information errors - 3.5.1. ERROR NO_USER +✓ 3.5.1. ERROR NO_USER 3.6. In-game errors 3.6.1. Global game errors - 3.6.1.1. ERROR NOT_IN_GAME - 3.6.1.2. ERROR NOT_PLAYING + 3.6.1.1. ERROR NOT_PLAYING 3.6.2. Moving errors 3.6.2.1. ERROR NOT_YOUR_TURN + 3.6.2.2. ERROR NOT_VALID_MOVE +Other bits +---------- +Server log messages should include pid date and time. And server +should log the fact when it gets terminated by a signal.