Show HN: Reverse Minesweeper
Article excerpt
Article URL: https://sunflowersgame.com/ Comments URL: https://news.ycombinator.com/item?id=49057666 Points: 234 # Comments: 80
A Medium grid must force at least this many two-clue subset moves. Raise for meatier Mediums.
A Hard grid must force at least this many two-clue overlap moves (plus at least one subset move).
An Extreme grid must force at least this many what-if moves: assume a square, watch a clue break. The deepest logic in the game.
At least one what-if must need a chain this long (in counting steps). 1-step chains feel like overlap moves; 2+ guarantees a genuinely deep moment. Capped by MAX_WHAT_IF_FIRINGS .
Insane grids always exceed Extreme's chain cap. Raise this to additionally demand either-way moves: pivots where both hypotheses survive yet agree on another square. The rarest logic in the game; expect closest-match flags above 1.
Every grid you generate is solved end-to-end by the same logic engine that powers the in-game hints. It plays through the whole puzzle one deduction at a time, always taking the simplest move available, exactly like a careful human, and records which reasoning techniques the grid forced it to use. There are five, and each tier is named after the hardest one the grid demands:
The 0, 100 score places a grid inside its tier's band (Easy 4, 19, Medium 20, 39, Hard 40, 59, Extreme 60, 79, Insane 80, 100), positioned by its sub-metrics: how wide and forgiving the solve is for Easy, the count of forced subset or overlap moves for Medium and Hard, and, for Extreme, the total depth of the what-if chains rather than their count, since a short 1-step what-if plays much like an overlap move while a 4-step cascade is a different beast. For Insane, the combined work of both branches of every either-way pivot. Bands never overlap, so a 62 is always genuinely harder than a 40.
Estimated time simply adds up the work: about a second per square of routine marking, ~2s to spot each basic deduction, ~14s per subset, ~26s per overlap, ~15s plus ~10s-per-step for each what-if, and ~35s plus per-step costs for each two-chain either-way. The weights live in EST_TIME in the source if the estimates drift from real solve times.
Zero squares follow ZERO_CLUE_RULES : Easy and Medium carry one or two 0 tiles, Hard exactly one, Extreme and Insane none. The generator protects needed 0s during pruning, strips extras first, injects one if a grid comes up short, and rejects anything that still breaks the rules.
The sliders above tighten what a grid must contain before it's accepted. Each click tries up to 90 candidates; if none fits your settings, the closest match is served and flagged under the board: a sign to ease a slider off or move to a bigger board, where demanding grids are more common.
Each number tells you how many sunflowers are in the surrounding squares.
Double-tap to plant a sunflower (right-click on desktop). Single-tap to mark a square empty, or click and drag to mark a line of empties.
Tap a faded number to fill the remaining empty squares around it.
Wrong sunflowers count as mistakes: you get 3 lives per puzzle. Crosses do not.
Every move can be solved using logic. No guessing is required.
I’m very excited to launch Sunflowers, a new logic puzzle game.
It’s basically a reverse minesweeper game where we plant sunflowers instead of blowing ourselves up.
I hope you like it! And I would love to hear your feedback .
Sunflowers is a browser logic puzzle game. Play for fun. Scores and progress are stored on your device.
We use Google Analytics to understand basic site traffic, and the game is hosted on Cloudflare Pages.
Marks are temporary and look lighter. Tap the pencil again to Accept or Discard them.
You’re mid-way through a puzzle. Starting a new game will clear that progress. Daily puzzle progress is kept separately.
Play a specific puzzle from the bank (1, 5999, or 10000, 10049).