@ -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");