Answered step by step
Verified Expert Solution
Question
1 Approved Answer
11 // PART A-3: SaveHighScores // Add a SaveHighScores method to the HighScore class. // It should have a string parameter for the file path
11 // PART A-3: SaveHighScores // Add a SaveHighScores method to the HighScore class. // It should have a string parameter for the file path and a List parameter. // In the method, it should serialize the list of high scores to the file. // Call this method in the game (part B-2) when a player gets a new high score. // 11 // PART A-4: Show High Scores // // Add a ShowHighScores method to the HighScore class. It should have a List parameter. It should print a "High Scores" title then loop over the high scores list and print each item. Format the output so that the scores are right-aligned and have a color different than the name. See example screenshot in the lab document in the Solution Items in Solution Explorer. //\\ nsole ore information for project n failed due to an internal /Users/kamiarhmotley/Downloads/Untitled/pg2-2307-Motleykm/Week4/Lab4/WarGame/WarGame.csproj error: Could not load file or assembly 'System.Configuration. Configuration Manager, Version=6.0.0.0, Culture=neutral, P
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started