I don't know the history of the xyzzy command at the counting screen
(or of how many people know about it), but it seems kinda superfluous
and silly to me. Maybe if it did something a little more useful...
So, if you want to remove it, here is a patch.
Joseph Piché
--- gnugo (copy)/interface/play_ascii.c 2006-05-18 14:20:50.000000000 -0500
+++ gnugo/interface/play_ascii.c 2007-10-24 11:42:57.000000000 -0500
@@ -1113,7 +1113,6 @@
char line[12];
int done = 0;
int i;
- int xyzzy = 1;
printf("\nGame over. Let's count!.\n");
showdead = 1;
@@ -1132,19 +1131,6 @@
done = 1;
else if (!strncmp(line, "quit", 4))
return;
- else if (!strncmp(line, "xyzzy", 5)) {
- if (xyzzy) {
- printf("\nYou are in a debris room filled with stuff washed in from the\n");
- printf("surface. A low wide passage with cobbles becomes plugged\n");
- printf("with mud and debris here, but an awkward canyon leads\n");
- printf("upward and west. A note on the wall says:\n");
- printf(" Magic Word \"XYZZY\"\n\n");
- xyzzy = 0;
- }
- else {
- printf("You are inside a building, a well house for a large spring.\n\n");
- xyzzy = 1;
- }
}
else if (!strncmp(line, "help", 4)) {
printf("\nIf there are dead stones on the board I will remove them.\n");
_______________________________________________
gnugo-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnugo-devel