Live data from Hacker News

Show HN: The classic Minesweeper on an irregular grid

polyreplay.com

21–30 of 143 posts

Re: Show HN: The classic Minesweeper on an irregular grid

#23
post #12
post #2

Neat... but I'm missing the left+right click, in the Windows Minesweeper, say you have a square with 4, and you've marked 4 squares around it as bombs, you can left+right click on the 4-square and uncover all the unmarked squares around it, instead of going one by one. Also "undo" is cool, but "lose 60s" seems backwards, considering one would get 60 seconds added to one's time.

Thanks a lot for trying it and the feedback. As a sibling comment said, left+right click should work (as well as middle click). Which OS/browser are you using? I like to fix this. And you're right for "lose 60s", It's not the ideal wording. I was thinking it in terms of the less time you end up with, the better your score is. But "gain 60s" wouldn't work either. I'll have a think, but curious to hear if anyone has su…

Middle click does not work for me on a Mac. Maybe cmd+click or double click would be ok to do?

Re: Show HN: The classic Minesweeper on an irregular grid

#24
post #15
post #12

Earlier quoted context omitted.

Thanks a lot for trying it and the feedback. As a sibling comment said, left+right click should work (as well as middle click). Which OS/browser are you using? I like to fix this. And you're right for "lose 60s", It's not the ideal wording. I was thinking it in terms of the less time you end up with, the better your score is. But "gain 60s" wouldn't work either. I'll have a think, but curious to hear if anyone has su…

maybe "60s penalty" would be better wording?

yes, that's indeed better, thanks a lot for your help, I appreciate.

Re: Show HN: The classic Minesweeper on an irregular grid

#25
post #19
post #8

This is really cool. Fascinating how the intuition maps neatly onto this grid As a notorious Minesweeper speedrunner I find the animation uncover animation when middle clicking to be a little slow as I find myself waiting it for it to finish for a second or so.

ah very interesting! I've done quite a few iterations of the speed at which they get uncovered, and it's definitely tricky to nail down. I've tried to find a middle ground between something that's rewarding/satisfying (so should take 1-2 seconds, long enough to be enjoyed), but also doesn't block you (so should be instant). And that animation would need to very different if it's revealing 10 tiles or less, or 500+. I…

An idea (not sure if it will work well) - how about uncovering fields with a "wave" rather than one by one? So instead of linear time, make it linear-by-distance time. First reveal the original tile, then its neighbours, then their neighbours, ... It should still feel pretty fluid, but faster.

Re: Show HN: The classic Minesweeper on an irregular grid

#26
post #20

Neat. Does this ensure there's no 50/50 guesses needed then? That seems easier when you can split a square in two.

It doesn't sadly. I had tried to implement that, but couldn't find a provable way to prevent 50/50. It's especially trickier as I can't use an algo with just rows and columns, it has to work on a graph. And it would need to be fast enough as to not slow the grid generation (which already takes a few seconds on the maximum size). So I'd love to add this ultimately, but not entirely sure I'll have the resources.

Also though they are rare, there are some nasty beginnings too, like this one: https://imgur.com/a/tjHg5if

I might be overlooking something tho.

Re: Show HN: The classic Minesweeper on an irregular grid

#28
post #12
post #2

Neat... but I'm missing the left+right click, in the Windows Minesweeper, say you have a square with 4, and you've marked 4 squares around it as bombs, you can left+right click on the 4-square and uncover all the unmarked squares around it, instead of going one by one. Also "undo" is cool, but "lose 60s" seems backwards, considering one would get 60 seconds added to one's time.

Thanks a lot for trying it and the feedback. As a sibling comment said, left+right click should work (as well as middle click). Which OS/browser are you using? I like to fix this. And you're right for "lose 60s", It's not the ideal wording. I was thinking it in terms of the less time you end up with, the better your score is. But "gain 60s" wouldn't work either. I'll have a think, but curious to hear if anyone has su…

Middle-click to progress works, but middle-click to flash (with no net effect, just so you can count) doesn't. This would really help work around the unintuitive neighbors problem mentioned elsewhere.

Re: Show HN: The classic Minesweeper on an irregular grid

#29
post #5

I'd like to have the option to show "remaining" mines. I've played https://pwmarcz.pl/kaboom/ enough in "countdown mode" (i.e. where the numbers are the number of hidden mines) that I can't adjust to this....

On the left of the face emoji, in the top bar, you should see the number of remaining mines. It's not exactly like the version you linked, which should "number found / total", as what I show is simply "remaining mines". Is that what you mean?

Although the number I show is actually a bit sneaky, as I subtract the number of flags placed to the total number of mines. So if you were to place more flags than mines, you'd see a negative number. (which I realise as I type that your version is similar, as the number can also go above the total).

Re: Show HN: The classic Minesweeper on an irregular grid

#30
post #20

Earlier quoted context omitted.

It doesn't sadly. I had tried to implement that, but couldn't find a provable way to prevent 50/50. It's especially trickier as I can't use an algo with just rows and columns, it has to work on a graph. And it would need to be fast enough as to not slow the grid generation (which already takes a few seconds on the maximum size). So I'd love to add this ultimately, but not entirely sure I'll have the resources.

Also though they are rare, there are some nasty beginnings too, like this one: https://imgur.com/a/tjHg5if I might be overlooking something tho.

ah yes, it's a nasty one. I can't see an obvious way to progress without luck either.
Post reply on HN