philihp / weblabora

Ora et Labora boardgame simulation library
http://kennerspiel.com
Apache License 2.0
11 stars 2 forks source link

idea: some sort of high score chart for solo game modes #120

Open philihp opened 11 years ago

adambadura commented 11 years ago

Do we keep old games in database? If so then generating a highscore list (not only for solo games) shouldn'd be difficult...

philihp commented 11 years ago

The moves that were taken in old games are kept, but not the scores or who won, or things like that.

One easy way to do this would be to add those fields, have the view-game action update them if they are different at the end of generating what the board looks like, and then once those changes are up, just go view every game that has been played and refresh it manually. Not a solution I'd consider if we had thousands of games played, but at the moment there are less than 100.