1: # include   "hangman.h"
   2: 
   3: /*
   4:  * This game written by Ken Arnold.
   5:  */
   6: main()
   7: {
   8:     initscr();
   9:     signal(SIGINT, die);
  10:     setup();
  11:     for (;;) {
  12:         Wordnum++;
  13:         playgame();
  14:         Average = (Average * (Wordnum - 1) + Errors) / Wordnum;
  15:     }
  16:     /* NOTREACHED */
  17: }
  18: 
  19: /*
  20:  * die:
  21:  *	Die properly.
  22:  */
  23: die()
  24: {
  25:     mvcur(0, COLS - 1, LINES - 1, 0);
  26:     endwin();
  27:     putchar('\n');
  28:     exit(0);
  29: }

Defined functions

main defined in line 6; never used
Last modified: 1983-01-07
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 980
Valid CSS Valid XHTML 1.0 Strict