2048.c icon indicating copy to clipboard operation
2048.c copied to clipboard

When game ends, show if the score is higher than previous scores.

Open sohang3112 opened this issue 2 years ago • 4 comments

This would require saving the highest score with date and time in a file. When the game ends, the high score should be shown, with a special message if the current score breaks previous high score.

sohang3112 avatar Oct 24 '23 01:10 sohang3112

There have been many proposals for high scores already. The file needs to be stored in some (standard) location, which is the biggest problem.

mevdschee avatar Oct 24 '23 05:10 mevdschee

The file needs to be stored in some (standard) location

@mevdschee IMO file should be saved in ~/.config - it's a standard location for such information.

sohang3112 avatar Oct 24 '23 06:10 sohang3112

@mevdschee Are you ok with saving score information in ~/.config? I would like to work on a PR for this - please let me know if you have any other suggestions / things I should keep in mind.

sohang3112 avatar Nov 15 '23 03:11 sohang3112

@mevdschee Please confirm if you're ok with scoring high score information in ~/.config - then I'll work on a PR for this.

sohang3112 avatar Dec 04 '23 13:12 sohang3112

@mevdschee Closing this issue due to lack of response

sohang3112 avatar Jul 23 '24 19:07 sohang3112