Live data from Hacker News

Show HN: The classic Minesweeper on an irregular grid

polyreplay.com

31–40 of 143 posts

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

#32
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.

I'm used to double-clicking to perform the same action.

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

#34
post #17

neat! I've wanted to add irregular grids to my infinite minesweeper. Playing your version, it definitely adds something. How do you generate your grid? Is it voronoi cells on top of blue noise?

Thanks a lot. And I've had some thought about making this infinite, but it's a bit harder!

The generation is inspired by what Oskar Stålberg has done for his game Townscaper. It is done with those steps: - start with triangles (ideally in an hexagonal pattern). - merge pairs of triangles into quads, randomly leaving some as triangles. - we subdivide both quads and triangles, and end up with quads only. - smooth the whole to get nicer shapes

It can be a bit abstract with just this list, so you can see some videos in my tweet: https://twitter.com/fradingue/status/1712218108826460428

I've also created a webgl engine to solve this type of procedural modeling for the web, and you can see 2 examples scenes where you can play with parameters that affect the shape of the irregular grid: - https://polygonjs.com/gui/irregular_quads/edit - https://polygonjs.com/gui/irregular_quad_relaxation/edit

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

#36
post #33

Bug report: https://ibb.co/Db44nWp The orange arrows point to a cell that should show "2" but shows "1." EDIT: Nevermind :-)

Thanks a lot for the feedback. Although I've received several bug reports like this, and unfortunately every time, it was the player who placed a flag incorrectly. So at the moment I'm more leaning to one of those 2 flags being incorrect. I think out of those 4 flags, the second from the top shouldn't have been placed.

But my assumption can certainly be wrong! To be sure, could you take a screenshot of a loosing screen? as all the mines will be revealed then, and we can see if the number is indeed correct or not.

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

#37
post #33

Bug report: https://ibb.co/Db44nWp The orange arrows point to a cell that should show "2" but shows "1." EDIT: Nevermind :-)

There are a lot of bugs in that screenshot

I think it's ok. One of the mine spots is incorrectly labeled. The spot that the upper orange arrow is touching is not a mine.

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

#38
post #33

Bug report: https://ibb.co/Db44nWp The orange arrows point to a cell that should show "2" but shows "1." EDIT: Nevermind :-)

There are a lot of bugs in that screenshot

actually none. 2nd flag from the top is wrong

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

#39
post #28
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…

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.

ah yes. I have not added that, but it's on my list. I completely agree it would help. I'll see if I can get to it. Thanks a lot for the nudge, that's super useful.

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

#40
post #30

Earlier quoted context omitted.

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.

There are definitely ways to progress from here, but they may be more advanced?

The 1 SouthEast of the bottom 2 touches two tiles, and the 1 immediately West touches a superset of those two. The difference between the larger and smaller set must be clear. And you can go further off of that.

Post reply on HN