Closed alphakilo11 closed 2 years ago
Suggested File structure:
{"playername", total_singleplayer_games, total_multiplayer_games, singleplayer_games_won, multiplayer_games_won, multiplayer_games_draw, total_guesses, total_black_pegs, total_white_pegs}
Example:
{"Alex", 25, 10, 15, 3, 1, 350, 100, 150}; {"Ohan", 13, 10, 10, 6, 1, 222, 98, 142}
Instead of serializing as a human-readable file, writing binary data would be more efficient and sufficient. A specification will be needed for that.