Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

I need help with this assignment please.
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DNA Databases

Authors: Stefan Kiesbye

1st Edition

0737758910, 978-0737758917

More Books

Students also viewed these Databases questions