Floody
the flood fill - a square with zero mines around it opens all its neighbours automatically, and any zero among them keeps spreading until the whole empty region is open
Loading audio…
Press play to listen along. The line being read lights up as you go.
Show full transcript
Loading transcript…
Floody is a duck. A very happy duck. She paddles around the pond at the edge of the League Field, and every so often she can't help herself: she slaps her wings down on the water and sends a wave rolling outward, ripple after ripple, spreading in every direction until it laps against the grass on every side.
"Splash!" she quacks. "One splash, and look how far it goes!"
That wave is exactly what happens on a Minesweeper board when you open a zero.
A young hedgehog came to the pond one day, puzzled. "Sometimes I click one square," he said, "and a huge chunk of the board just opens up all by itself. Is the game broken?"
Floody laughed a big, happy, quacking laugh. "Not broken! That's the best thing in the whole game. Come here, I'll show you."
She waddled onto a fresh board and pointed with her wing at the numbers. "Every open square tells you how many mines touch it. A one means one mine is next to it. A two means two. And a zero..." She paused, eyes sparkling. "A zero means no mines touch it. None at all."
"So?" said the hedgehog.
"So if a square has no mines around it," said Floody, "then every square next to it is safe. Every single one. The game knows that, so it opens them all for you, automatically. You don't even have to click them."
She tapped a zero with her bill, and the squares around it flipped open.
"And here's the splashy part," she went on, bouncing. "If any of those new squares is a zero too, then its neighbours are safe as well. So they open. And if any of those are zeros..."
The hedgehog's eyes grew wide as he watched. The opening spread, zero to zero, square to square, rolling outward across the board exactly like Floody's wave across the pond. It kept going until it reached the edge of the empty region, where it stopped at a border of numbers, the squares that touched at least one mine.
"It stops at the numbers," the hedgehog said, amazed.
"Right," said Floody. "A number isn't a zero, so it doesn't spread any further. The wave washes open the whole empty patch, then stops right at its shore. And all of that," she spread her wings wide, "happened from one click."
"That's why Bevvy counts each empty patch as just one click," the hedgehog said slowly, remembering.
"Exactly!" Floody quacked. "A whole empty region only costs one click, because one splash opens all of it. That's also why finding a zero is such a lucky, lovely feeling. One little tap, and a whole field of the board opens up to you."
Then she added, a bit more thoughtfully, "And notice: the opening only ever shows you safe squares. A zero is a promise that there's nothing dangerous nearby. That's why the wave is always safe to ride."
The hedgehog grinned and started looking for zeros on every board after that.
Floody feels most like Floody in the second a zero opens and the wave begins to spread, rolling out and out across the board. It is a wide, splashy, laughing feeling, like a cannonball into cool water on the hottest day of summer, the whole pond rippling with joy.
You have a bit of Floody in you whenever one small action opens up something big. When you find a zero, watch the whole empty field open, and say it the way she does: "Floody opens a zero, and the whole empty field washes open."
Then look for the shore of numbers, and keep going.
The Sweep League ensemble
Floody is part of Sweep League's distributed-narrative cast. Each character embodies a different curricular primitive; together they teach the full subject.
-
Surefoot
(Mentor, a mountain goat) - only steps where she is SURE; asks which square the numbers prove
-
Bevvy
A bee who knows the fewest clicks a board could take - its 3BV
-
Clicksy
A cricket who counts every wasted click - efficiency is 3BV divided by clicks
-
Oddsley
An owl who weighs every arrangement the numbers allow - the exact odds of a mine
-
Chordy
A crab who opens a whole ring of squares at once when a number's mines are all flagged
-
Knowsley
A red panda who knows every board can be solved by knowing, never by guessing
-
Rewinda
A squirrel who checks a run by re-playing every move, never by trusting it
-
Samesby
A penguin who knows a race code gives both racers exactly the same board
-
Sumsy
A hamster who knows the total number of mines shapes the odds of every hidden square
-
Tickwell
A hare who knows your speed is shown only AFTER you finish, never while you play