jassenburg / frozenbubbleplus

Automatically exported from code.google.com/p/frozenbubbleplus
0 stars 0 forks source link

Player vs CPU highscores not working correctly once more than 15 entries exist #47

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The database for player versus CPU scores needs to be updated to remove the 
lowest entries, because they are never eliminated because the database storage 
mode is the same as for puzzle mode.

Puzzle mode displays the scores in order of fewest shots to most,and player 
versus CPU mode displays the scores in order of most shots to to least.

To fix the issue, either a new set of methods can be implemented to store new 
entries sorted from most shots to least (not preferred), or by increasing the 
database size from 15 to 16, then deleting the entry with the fewest shots when 
the database is full (preferred).  15 records will still be displayed.

Original issue reported on code.google.com by forter...@gmail.com on 19 Jul 2013 at 4:45

GoogleCodeExporter commented 8 years ago
The non-preferred method actually became the preferred method due to its 
simplicity.  Records are now retrieved from most shots to least.

Verified in version 1.20.

Original comment by forter...@gmail.com on 22 Jul 2013 at 7:52