TheMightyFightySushbugs / super-ultra-dangerzone-9000

Yet another generic SHMUP...
GNU General Public License v2.0
0 stars 0 forks source link

Implement highscores #19

Open RCramiro opened 10 years ago

RCramiro commented 10 years ago

Game must keep track the top 10 highest scores. These scores are to be stored as an array of 10 unsigned integers stored inside of Game, and they will also be backed up in a highscore file.

The following functions will have to be implemented:

Jakester0813 commented 10 years ago

I'll work on it if no one hasn't been able to work on it

RCramiro commented 10 years ago

Thanks for the offer, Jake, but we can't accept your help. This is a school project, so jcosta9, rmartinez3, zihangeng, and I have to do this on our own. However, feel free to fork this repository and mess around with it.

Jakester0813 commented 10 years ago

Thank you, I'll certainly do that!

RCramiro commented 10 years ago

Feng, could you modify Game::displayHighscores() so that newly-added scores are flashing or a different color? Right now, the player can't tell if he's beaten the high score unless he tracks the score himself, so I think you need to provide some sort of visual confirmation.

RCramiro commented 10 years ago

Currently, Game::updateHighscore() only takes player 1's score into account. It should consider the scores of players 1 through playerCount. For example, if playerCount is 3, then Game::updateHighscore() should consider the scores of players 1, 2, and 3.