Comment 1 for bug 248352

Revision history for this message
Trygve Vea (trygve-vea-gmail) wrote :

I'd argue that this isn't a bug, but a question.

This can be done by truncating the files located in /var/games.
These files are only writable by root and the games group.

You can reset the highscore in Mahjongg by running the following two commands in a terminal:

sudo su
for a in `ls /var/games/mahjongg.*`; do cat /dev/null > $a; done

The reason why this is done the way it is, is to make it possible for users to share the highscore-table without making it obviously easy to cheat. Implementing what you ask from within a game is most likely never to happen, since that would break this feature.

Regards, Trygve