add player name prompt and adding to the leaderboard
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
}
|
||||
|
||||
public static List<(string, int)> ReadScores() {
|
||||
if (!File.Exists("leaders.txt")) return new List<(string, int)>();
|
||||
using StreamReader rd = new StreamReader("leaders.txt");
|
||||
List<(string, int)> scores = new List<(string, int)>();
|
||||
string? line = null;
|
||||
|
||||
Reference in New Issue
Block a user