home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 2 / RISC_DISC_2.iso / pd_share / games / gnugo / c / showinst < prev    next >
Encoding:
Text File  |  1995-03-11  |  4.1 KB  |  97 lines

  1. /*
  2.                 GNU GO - the game of Go (Wei-Chi)
  3.                 Version 1.1   last revised 3-1-89
  4.            Copyright (C) Free Software Foundation, Inc.
  5.                       written by Man L. Li
  6.                       modified by Wayne Iba
  7.                     documented by Bob Webber
  8. */
  9. /*
  10. This program is free software; you can redistribute it and/or modify
  11. it under the terms of the GNU General Public License as published by
  12. the Free Software Foundation - version 1.
  13.  
  14. This program is distributed in the hope that it will be useful,
  15. but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  17. GNU General Public License in file COPYING for more details.
  18.  
  19. You should have received a copy of the GNU General Public License
  20. along with this program; if not, write to the Free Software
  21. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  22.  
  23. Please report any bug/fix, modification, suggestion to
  24.  
  25. mail address:   Man L. Li
  26.                 Dept. of Computer Science
  27.                 University of Houston
  28.                 4800 Calhoun Road
  29.                 Houston, TX 77004
  30.  
  31. e-mail address: manli@cs.uh.edu         (Internet)
  32.                 coscgbn@uhvax1.bitnet   (BITNET)
  33.                 70070,404               (CompuServe)
  34. */
  35.  
  36. #include "header.h"
  37. #include <stdio.h>
  38.  
  39. void showinst()
  40. /* show program instructions */
  41. {
  42.  printf("XOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOX");
  43.  printf("OXOXOXOXOXOX\n");
  44.  printf("O                                                                  ");
  45.  printf("           O\n");
  46.  printf("X                           GNU GO (Previously Hugo)               ");
  47.  printf("           X\n");
  48.  printf("O                           the game of Go (Wei-Chi)               ");
  49.  printf("           O\n");
  50.  printf("X                                                                  ");
  51.  printf("           X\n");
  52.  printf("O                            version 1.1    3-1-89                 ");
  53.  printf("           O\n");
  54.  printf("X              Copyright (C) 1989 Free Software Foundation, Inc.   ");
  55.  printf("           X\n");
  56.  printf("O                              Author: Man L. Li                   ");
  57.  printf("           O\n");
  58.  printf("X         GNU GO comes with ABSOLUTELY NO WARRANTY; see COPYING for");
  59.  printf("           X\n");
  60.  printf("O         detail.   This is free software, and you are welcome to  ");
  61.  printf("           O\n");
  62.  printf("X         redistribute it; see COPYING for copying conditions.     ");
  63.  printf("           X\n");
  64.  printf("O                                                                  ");
  65.  printf("           O\n");
  66.  
  67. #ifdef SUN
  68.  
  69.  printf("X              Please report all bugs, modifications, suggestions  ");
  70.  printf("           X\n");
  71.  printf("O                         to manli@cs.uh.edu  (Internet)           ");
  72.  printf("           O\n");
  73.  
  74. #endif
  75.  
  76.  printf("X                                                                  ");
  77.  printf("           X\n");
  78.  printf("OXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXO");
  79.  printf("XOXOXOXOXOXO\n");
  80.  printf("\n\n\n\n\n\n\n\nPress return to continue");
  81.  getchar();
  82.  printf("\n\nTo play this game first select number of handicap pieces (0 to");
  83.  printf(" 17) for the\nblack side.  Next choose your color (black or white).");
  84.  printf("  To place your piece,\nenter your move as coordinate on the board");
  85.  printf(" in column and row.  The column\nis from 'A' to 'T'(excluding 'I').");
  86.  printf("  The row is from 1 to 19.\n\nTo pass your move enter 'pass' for");
  87.  printf(" your turn.  After both you and the computer\npassed the game will");
  88.  printf(" end.  To save the board and exit enter 'save'.  The game\nwill");
  89.  printf(" continue the next time you start the program.  To stop the game in");
  90.  printf(" the\nmiddle of play enter 'stop' for your move.  You will be");
  91.  printf(" asked whether you want\nto count the result of the game.  If you");
  92.  printf(" answer 'y' then you need to remove the\nremaining dead pieces and");
  93.  printf(" fill up neutral turf on the board as instructed.\nFinally, the");
  94.  printf(" computer will count all pieces for both side and show the result.\n\n");
  95. }  /* end showinst */
  96.  
  97.