Open philihp opened 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.
Do we keep old games in database? If so then generating a highscore list (not only for solo games) shouldn'd be difficult...