Files
Arquivotheca.SunOS-4.1.4/games/hangman/prman.c
seta75D ff309bfe1c Init
2021-10-11 18:37:13 -03:00

22 lines
401 B
C

#ifndef lint
static char sccsid[] = "@(#)prman.c 1.1 94/10/31 SMI"; /* from UCB */
#endif
# include "hangman.h"
/*
* prman:
* Print out the man appropriately for the give number
* of incorrect guesses.
*/
prman()
{
register int i;
for (i = 0; i < Errors; i++)
mvaddch(Err_pos[i].y, Err_pos[i].x, Err_pos[i].ch);
while (i < MAXERRS) {
mvaddch(Err_pos[i].y, Err_pos[i].x, ' ');
i++;
}
}