#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"
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(" 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(" 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(" 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 <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(" resign Resign 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(" 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");
}