Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Store Text in Minesweeper (scroll.pub)
28 points by breck 10 months ago | hide | past | favorite | 9 comments



Oh my goodness.

Claude 3's Sonnet can whip up this sort of thing now in seconds: https://x.com/breckyunits/status/1803864247983837537

It struggles with a few of the more advanced features (in particular, getting advanced features to interplay correctly), but it nails 80% of it on the first try, and generates better visual design than me.

In contrast, it took me a few days to build this (but then again, I was also doing it as research into building yet another react like framework, at that time).


With this you can even roll a QR code into a game of minesweeper: https://sdk.scroll.pub/treeComponentFramework/sweepercraft/#...


Love it!

I wonder what CSS tweaks would be needed to get phone cameras to read these properly.

Would definitely accept a pull request for a keyboard shortcut "q" that words like "w" except generates a QR code :)


Surprisingly tedious playing the board generated from a word. Lots of high numbers and few gaps made for a lot of clicking.

The fact that I tried a few times to click left+right button on digits tells me I've spent enough time playing minesweeper.

For anyone who haven't tried to become competitive at minesweeper, clicking both mouse buttons on a digit that has the right amount of "bomb marks" on neighboring squares makes the (Windows) game click on all not yet clicked squares.


> Surprisingly tedious playing the board generated from a word

Agreed. A fun way to play it is 2 player in person. The player tries to guess the word as they go, and the board creator tells them if they got it (so you just try to get the general shape of the word, without actually trying to solve every letter).


This is fun! In trying to find an edge with generating based on a word, from what I can tell it also has a border of not-bombs which gives the player an edge they wouldn't have in classic minesweeper.


2 ways to craft your own board:

1. Press "w" to enter a string that will be converted to a board

2. On a new board before clicking any piece, start adding flags. A link will appear to a custom board where each flag will be a mine.


Browsing from an (older) iPad and linked page shows up as a blank. Just FYI.


For anyone wondering without time, the solution is E=MC^2




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: