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…

01 Opening
Floody beat 1 of 5

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.

02 Floody
Floody beat 2 of 5

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.

03 Floody
Floody beat 3 of 5

"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.

04 Floody
Floody beat 4 of 5

"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."

05 Closing
Floody beat 5 of 5

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.

Kids also liked