Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export statistics to .csv file #512

Open
AlexanderRitter02 opened this issue Nov 29, 2024 · 0 comments
Open

Export statistics to .csv file #512

AlexanderRitter02 opened this issue Nov 29, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@AlexanderRitter02
Copy link

AlexanderRitter02 commented Nov 29, 2024

Is your feature request related to a problem? Please describe.
The statistics loss bug #490 got me thinking about stats.
For one, I'd like a way to back them up externally. Even if the bug gets fixed, that would still be important because you might switch to a new phone or lose your phone.

Additionally, an export would also allow the user to do further analysis of the games, for example the frequency of how often I play etc.
Having the data in a standard format like .csv allows to easily read it into Excel of Python.

Describe the solution you'd like
An option to export the games statistics to a .csv file.
Importing is not that important I think, but it could be added later on too.

The .csv would have each row be one game's statistics.
The columns could look sth similar to, depending on what is currently kept track of:

  • date the game started
  • length
  • difficulty
  • mine amount
  • win/loss

Describe alternatives you've considered
Parsing the stats file at dev.lucanlm.antimine/files myself, but:

  1. It needs root access, so not everyone can do it
  2. It is in some kind of binary format because when I open it it doesn't make sense
  3. I could also try implementing the export myself, but the issue with that is that even if I managed to I wouldn't be able to update the existing app and thus lose all my exisiting stats.

In general, it would just be better to have an official way.

Additional context
None

@AlexanderRitter02 AlexanderRitter02 added the enhancement New feature or request label Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant