From: Aaron Taylor Date: Fri, 28 May 2021 00:13:51 +0000 (-0700) Subject: Updated help commands to only display allowed subset in two player mode. X-Git-Url: http://git.subgeniuskitty.com/sgk-go/.git/commitdiff_plain/c541f89afc3888f3f685e7997f37d43206f4a334 Updated help commands to only display allowed subset in two player mode. --- diff --git a/interface/play_twoplayer.c b/interface/play_twoplayer.c index 2941e37..3008925 100644 --- a/interface/play_twoplayer.c +++ b/interface/play_twoplayer.c @@ -46,14 +46,7 @@ #include "sgftree.h" #define DEBUG_COMMANDS "\ -capture try to capture indicated group\n\ -dead Toggle display of dead stones\n\ -defend 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" @@ -329,36 +322,19 @@ static void 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 Set depth for reading\n"); printf(" display Display game board\n"); printf(" exit Exit GNU Go\n"); - printf(" force Force a move for current color\n"); - printf(" forward Go to next node in game tree\n"); - printf(" goto Go to movenum in game tree\n"); printf(" level Playing level (default = 10)\n"); - printf(" handicap Set fixed handicap (on move 1 only)\n"); - printf(" freehandicap Place free handicap (on move 1 only)\n"); - printf(" Omit 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(" 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(" play Play 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(" resign Resign the current game\n"); printf(" save Save the current game\n"); - printf(" load 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(" switch Switch the color you are playing\n"); - printf(" undo Take the last move back (same as back)\n"); printf(" A move of the format "); printf("\n"); }