antimine-android icon indicating copy to clipboard operation
antimine-android copied to clipboard

Recreate a game through hash

Open im7mortal opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. I would like to have a hash which would be possible to use to generate identical game.

Sometimes I find a gem which I like a replay or send to somebody else.

Describe the solution you'd like

When game generated, it prints a hash under metadata button. For example 9:9:30:3:7:df54fycdg5... where '9:9' is size '30' number of mines '3:7' start tile coordinate After base64 of minemap.

It also could be any other format.

Additional context

  1. I think it would be great for debuging also.
  2. It also would be good way to keep history of games. I know that there is the history tab

Obrigado!

im7mortal avatar Feb 11 '24 02:02 im7mortal

Thanks for your suggestion! ❤️ Next version will have a way to do that. Every game will generate a unique hash like 1KCBS6I2X:163H that can be used to start the same game using this new entry:


It will also be possible to share the game (including a picture) after complete a game.

Screenshot 2024-02-12 at 3 57 36 PM

lucasnlm avatar Feb 12 '24 15:02 lucasnlm