Question: I need help with this assignment please. Create a project called Leaderboard, which an array of structs or parallel arrays or parallel vectors to store
Create a project called Leaderboard, which an array of structs or parallel arrays or parallel vectors to store player initials and scores. It should have at least four functions to do the following: pacman,png The first function has three options allowing you to customize the difficulty of the exercise to your own ability and experience. When in doubt, start with easy mode. You can then later add functionality to create a hard mode solution if you have time. Students familiar with simple sorting algorithms may want to just start in hard mode. No one should attempt insane mode. ) addScore: Adds a score to the Leaderboard if the score is high enough along with the three letter initials of the player to whom the score belongs. Remember you must keep the correct scores associated with the correct initials Easy Mode: All scores are added and not sorted. Hard Mode: Only maintain the top ten scores and sort Insane Mode: Use a linked list of score structs to store scores and initials. (If you don't know what some of these words mean don't choose insane mode.) store: Writes the current values in the Leaderboard to a ile on the disk. The format of your file is up to you, just remember you have to retrieve these values later and and keep them straight, so design your file format to make life easier for the next function load: Retrieves the stored fle and loads values into the Leaderboard. Be sure to keep those initials and scores straight. display: Displays the Leaderboard on the screen for viewing. You can format this any way you like, but the picture I have in my head is the High Scores screen from Pac Man, but without the fancy colors or art. Simple
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
