better endscreen

This commit is contained in:
'mr software' 2022-01-05 19:50:54 -08:00
parent 21885a7713
commit 502b10d01f
1 changed files with 3 additions and 1 deletions

4
main.c
View File

@ -181,7 +181,9 @@ end:
tcsetattr(0, TCSANOW, &tsave);
clrscr();
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++) {
rgw(word, guesstab[s], l);
free(guesstab[s]);