to reset scores?

Asked by jackie

I want to reset scores on grome game how do I do this?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
jackie (mamapapablind) said :
#1

I want to clear the scores on grome game and start over please if theres a way to do this let me know at <email address hidden> thankyou

Revision history for this message
midnightflash (midnightflash) said :
#2

Quote from: http://<email address hidden>/msg215807.html
-------------
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.
-------------

Greetings

Can you help with this problem?

Provide an answer of your own, or ask jackie for more information if necessary.

To post a message you must log in.