lucasnlm / antimine-android

Antimine is an open source minesweeper-like puzzle game.
GNU General Public License v3.0
652 stars 88 forks source link

Persist Flag/Reveal Choice Between Games #447

Open MichaelPooleLF opened 1 year ago

MichaelPooleLF commented 1 year ago

I would like there to be a feature where the choice to either flag or reveal squares on tap when controls are set to "use button to switch between flag and open" persist between games.

Ex 1: game 1, I choose for taps to reveal squares. When I start a new game, it should still be set to reveal squares on tap.

Ex 2: I can choose to have the option default to either flag or reveal when I start a new game

Current behavior: setting taps to reveal squares gets reset if I start a new game

lucasnlm commented 1 year ago

Hi! Thanks for your feedback! This is an expected behavior. It resets to avoid miss clicks after the new game. But I open to remove this code.

I can also remove it now and check if anyone else is impacted by this change.

forteller commented 1 year ago

Current behavior for me resets it to reveal squares when I reopen a game, even if I set it to flag last time I had the game open. This can easily make people lose their game, when they open instead of flag. I would like to add my vote to remember my last selected option. Thank you! :)