better endscreen
This commit is contained in:
parent
21885a7713
commit
502b10d01f
4
main.c
4
main.c
|
@ -181,7 +181,9 @@ end:
|
||||||
tcsetattr(0, TCSANOW, &tsave);
|
tcsetattr(0, TCSANOW, &tsave);
|
||||||
clrscr();
|
clrscr();
|
||||||
if(win) printf("success! ");
|
if(win) printf("success! ");
|
||||||
printf("word was %s\n", word);
|
printf("word was %s\n\nUNCENSORED:\n", word);
|
||||||
|
for(uint s = 0; s < guesses; s++) rg(word, guesstab[s], l);
|
||||||
|
printf("CENSORED:\n");
|
||||||
for(uint s = 0; s < guesses; s++) {
|
for(uint s = 0; s < guesses; s++) {
|
||||||
rgw(word, guesstab[s], l);
|
rgw(word, guesstab[s], l);
|
||||||
free(guesstab[s]);
|
free(guesstab[s]);
|
||||||
|
|
Loading…
Reference in New Issue