1: # include   "hangman.h"
   2: 
   3: /*
   4:  * playgame:
   5:  *	play a game
   6:  */
   7: playgame()
   8: {
   9:     register bool   *bp;
  10: 
  11:     getword();
  12:     Errors = 0;
  13:     bp = Guessed;
  14:     while (bp < &Guessed[26])
  15:         *bp++ = FALSE;
  16:     while (Errors < MAXERRS && index(Known, '-') != NULL) {
  17:         prword();
  18:         prdata();
  19:         prman();
  20:         getguess();
  21:     }
  22:     endgame();
  23: }

Defined functions

playgame defined in line 7; used 1 times
Last modified: 1983-01-07
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 973
Valid CSS Valid XHTML 1.0 Strict