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

Persist Flag/Reveal Choice Between Games #447

Open
MichaelPooleLF opened this issue May 22, 2023 · 2 comments
Open

Persist Flag/Reveal Choice Between Games #447

MichaelPooleLF opened this issue May 22, 2023 · 2 comments

Comments

@MichaelPooleLF
Copy link

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
Copy link
Owner

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
Copy link

forteller commented Oct 23, 2023

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! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants