|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 299 (0x12b) Types: TextFile Names: »playgame.c«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987 └─⟦this⟧ »EUUGD18/General/Hangman/playgame.c«
# include "hangman.h" /* * playgame: * play a game */ playgame() { register bool *bp; getword(); Errors = 0; bp = Guessed; while (bp < &Guessed[26]) *bp++ = FALSE; while (Errors < MAXERRS && index(Known, '-') != NULL) { prword(); prdata(); prman(); getguess(); } endgame(); }