diff --git a/src/Paper-Bin.c b/src/Paper-Bin.c index 382a231..43ebb75 100644 --- a/src/Paper-Bin.c +++ b/src/Paper-Bin.c @@ -191,6 +191,11 @@ void sortScoreboard() fclose(fp); printf(" Scoreboard:\n\n"); + for (int j = 0; j <= numberOfLines; j++) + { + printf("%d. %s %s %d\n", j + 1, (j < 10) ? " " : " ", playerlist[j].Name, playerlist[j].Points); + } + FILE* fp = fopen("ScoreBoard.txt", "w"); }