DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T h

⟦3b6bd8e54⟧ TextFile

    Length: 1757 (0x6dd)
    Types: TextFile
    Names: »help.c«

Derivation

└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
    └─⟦this⟧ »EUUGD18/X/Xgo/help.c« 

TextFile

/*
 * $Header: help.c,v 1.2 88/02/13 12:49:22 hale Exp $
 */

/*

        Copyright 1987      Greg Hale

Permission to use, copy, modify, and distribute this
software and its documentation for any purpose and without
fee is hereby granted, provided that the above copyright
notice appear in all copies and that both that copyright
notice and this permission notice appear in supporting
documentation.  No representations are made about the
suitability of this software for any purpose.  It is
provided "as is" without express or implied warranty.

*/


#include "go.h"

#define FD_INPUT 0

static char c;

help()
{
	clear();
	refresh();
	printf("\n\
-- Go: by Greg Hale --\n\
[hjklyubn/HJKLYUBN]: cursor movement.\n\
<space>:    select current point. (put/remove a stone or structure)\n\
[p]:        start play/pass your turn.\n\
[q]:        quit and print the score.\n\
[R]:        resign and give the win to the other player.\n\
[m]:        send a message to the other player.\n\
            press return on a blank link to exit.\n\
[s]:        switch which player you are (black/white) in handicap mode,\n\
	    or turn on scoring mode when playing.\n\
[S]:        save the current board, turn, and score.\n\
[c]:        cancel scoring mode and restore game.\n\
[^c]:       leave the game.\n\
[^l]:       redraw the screen.\n\
[/]:        show the last move.\n\
[?]:        help.\n\
[1][2]:     in demo mode (-m option), these two keys set and unset\n\
	    moves on the board for demonstrations.\n\
\n\
-- Scoring --\n\
Read the man page.\n\
\n\
<hit any key to continue>");

	refresh();
	GetAKey0();
	clear();
}


longhelp()
{
	system(HELP_CMD);
	exit(0);
}
\f


/*
 * $Log:	help.c,v $
 * Revision 1.2  88/02/13  12:49:22  hale
 * added logging.
 * 
 */