Updated help commands to only display allowed subset in two player mode.
authorAaron Taylor <ataylor@subgeniuskitty.com>
Fri, 28 May 2021 00:13:51 +0000 (17:13 -0700)
committerAaron Taylor <ataylor@subgeniuskitty.com>
Fri, 28 May 2021 00:13:51 +0000 (17:13 -0700)
interface/play_twoplayer.c

index 2941e37..3008925 100644 (file)
 #include "sgftree.h"
 
 #define DEBUG_COMMANDS "\
 #include "sgftree.h"
 
 #define DEBUG_COMMANDS "\
-capture <pos>    try to capture indicated group\n\
-dead             Toggle display of dead stones\n\
-defend <pos>     try to defend indicated group\n\
-listdragons      print dragon info \n\
-showarea         display area\n\
-showdragons      display dragons\n\
-showmoyo         display moyo\n\
-showterri        display territory\n\
+No debug commands in two player mode\n\
 "
 
 #define MASTER_FIFO_NAME "/tmp/sgkgo-fifo-master"
 "
 
 #define MASTER_FIFO_NAME "/tmp/sgkgo-fifo-master"
@@ -329,36 +322,19 @@ static void
 show_commands(void)
 {
     printf("\nCommands:\n");
 show_commands(void)
 {
     printf("\nCommands:\n");
-    printf(" back                Take back your last move\n");
-    printf(" boardsize           Set boardsize (on move 1 only)\n");
     printf(" comment             Write a comment to outputfile\n");
     printf(" depth <num>         Set depth for reading\n");
     printf(" display             Display game board\n");
     printf(" exit                Exit GNU Go\n");
     printf(" comment             Write a comment to outputfile\n");
     printf(" depth <num>         Set depth for reading\n");
     printf(" display             Display game board\n");
     printf(" exit                Exit GNU Go\n");
-    printf(" force <move>        Force a move for current color\n");
-    printf(" forward             Go to next node in game tree\n");
-    printf(" goto <movenum>      Go to movenum in game tree\n");
     printf(" level <amount>      Playing level (default = 10)\n");
     printf(" level <amount>      Playing level (default = 10)\n");
-    printf(" handicap <num>      Set fixed handicap (on move 1 only)\n");
-    printf(" freehandicap <num>  Place free handicap (on move 1 only)\n");
-    printf("                     Omit <num> to place handicap yourself\n");
     printf(" help                Display this help menu\n");
     printf(" helpdebug           Display debug help menu\n");
     printf(" info                Display program settings\n");
     printf(" help                Display this help menu\n");
     printf(" helpdebug           Display debug help menu\n");
     printf(" info                Display program settings\n");
-    printf(" komi                Set komi (on move 1 only)\n");
-    printf(" last                Goto last node in game tree\n");
     printf(" pass                Pass on your move\n");
     printf(" pass                Pass on your move\n");
-    printf(" play <num>          Play <num> moves\n");
-    printf(" playblack           Play as Black (switch if White)\n");
-    printf(" playwhite           Play as White (switch if Black)\n");
     printf(" quit                Exit GNU Go\n");
     printf(" quit                Exit GNU Go\n");
-    printf(" resign              Resign the current game\n");
     printf(" save <file>         Save the current game\n");
     printf(" save <file>         Save the current game\n");
-    printf(" load <file>         Load a game from file\n");
     printf(" score               Toggle display of score On/Off\n");
     printf(" showboard           Toggle display of board On/Off\n");
     printf(" score               Toggle display of score On/Off\n");
     printf(" showboard           Toggle display of board On/Off\n");
-    printf(" switch              Switch the color you are playing\n");
-    printf(" undo                Take the last move back (same as back)\n");
     printf(" <move>              A move of the format <letter><number>");
     printf("\n");
 }
     printf(" <move>              A move of the format <letter><number>");
     printf("\n");
 }