sgtpuzzles icon indicating copy to clipboard operation
sgtpuzzles copied to clipboard

Mines: long press number to auto flag neighbours

Open chrisboyle opened this issue 13 years ago • 3 comments

Great suggestion from a user:

"If you long-press a number where all nabouring field are obviously mines, they should be marked as mines. This way, it's easy to avoid accidentally clicking on mines when trying to flag them."

chrisboyle avatar Aug 15 '11 12:08 chrisboyle

In the context of other platforms, this would be right-mouse-button (which currently has no effect on a number, I think).

chrisboyle avatar Sep 19 '14 16:09 chrisboyle

Long press (right mouse) on a number now means the same as short press (left mouse), for the benefit of swap-L-R users (see #395), but this behaviour could still be rolled into that. Logic would be that for a tile numbered N, if you have N flags and some uncovered, it still uncovers (as now) but if you have exactly N covered (some of which may already be flagged) then it sets flags.

chrisboyle avatar Dec 22 '16 08:12 chrisboyle

Patch from Ignazio Di Napoli I fished out of my inbox:

mines-32-auto-flag.diff.txt

chrisboyle avatar Apr 06 '22 17:04 chrisboyle