Write a Scoreboard class that maintains the top 10 scores for a game application using a singly
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a Scoreboard class that maintains the top 10 scores for a game application using a singly linked list. The data should store the Name and Score.
Prompt the user for name and score, then place the data and score in the appropriate place in the list.
Scores should be stored and printed from High Score to Low Score.
Use an independent variable to keep the size of the list. You will not need more than 10 scores.
I may need to delete a score if I found a player cheated.
Make sure your application lets me (and this can be a menu)
Add a new player score/node, Delete a player/score node, print the list.
Related Book For
Java An Introduction To Problem Solving And Programming
ISBN: 9780134462035
8th Edition
Authors: Walter Savitch
Posted Date: