Browse Source

Wartezeit Scoreboard Print eingefügt

main
fdai7172 2 years ago
parent
commit
b04270d8f6
  1. 2
      src/Paper-Bin.c

2
src/Paper-Bin.c

@ -194,8 +194,10 @@ void sortScoreboard()
for (int j = 0; j <= numberOfLines; j++) for (int j = 0; j <= numberOfLines; j++)
{ {
printf("%d. %s %s %d\n", j + 1, (j < 10) ? " " : " ", playerlist[j].Name, playerlist[j].Points); printf("%d. %s %s %d\n", j + 1, (j < 10) ? " " : " ", playerlist[j].Name, playerlist[j].Points);
sleep(1000);
} }
FILE* fp = fopen("ScoreBoard.txt", "w"); FILE* fp = fopen("ScoreBoard.txt", "w");
} }
Loading…
Cancel
Save