Add option to clear high scores
Bug #248352 reported by
Jantien
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNOME Games |
Expired
|
Wishlist
|
|||
gnome-games (Ubuntu) |
Triaged
|
Wishlist
|
Ubuntu Desktop Bugs |
Bug Description
Who can help me to reset the highscore in Mahjongg?
Please add the ability to clear high scores in Gnome Games like Mahjongg and
Mines.
description: | updated |
Changed in gnome-games: | |
status: | Unknown → New |
Changed in gnome-games: | |
assignee: | nobody → desktop-bugs |
importance: | Undecided → Wishlist |
status: | Confirmed → Triaged |
Changed in gnome-games: | |
importance: | Unknown → Wishlist |
Changed in gnome-games: | |
status: | New → Expired |
To post a comment you must log in.
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 mahjongg. *`; do cat /dev/null > $a; done
for a in `ls /var/games/
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