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

Should the algorithm avoid corner cases

Open Brli opened this issue 2 years ago • 5 comments

Screenshot_20230307-231045_ASUS_Launcher.png

Like this, the corner is surrounded with mines

Brli avatar Mar 16 '23 14:03 Brli

This is also the issue raised in #394

SuspectTyrannosaurus avatar Mar 17 '23 04:03 SuspectTyrannosaurus

I'm not sure if this is a problem. There are zero remaining mines, so you can open the corners without problem.

lucasnlm avatar Mar 17 '23 23:03 lucasnlm

@lucasnlm: That is where I've managed to solved rest of the part, to just show you that there are boxes left surrounded with mines.

Check out the case where @SuspectTyrannosaurus pointed

The problem is, without the left mine indicator, there is no hint for the boxes surrounded by mine or edge, which becomes pure luck.

Brli avatar Mar 17 '23 23:03 Brli

@Brli I agree partially. But this is something that other minesweeper implementation does. So, I'm not sure if remove it is something good.

lucasnlm avatar Mar 20 '23 22:03 lucasnlm

IMO this is fine. I had a case where the mines-left indicator was needed for one corner to know you had to click the corner one. Solvable is solvable.

PeterBindels-TomTom avatar Apr 29 '23 18:04 PeterBindels-TomTom