I've been a Redditor for fifteen years now. I thought I knew every kind of fun it had to offer, but over the last several months I've discovered the joy of building games there, and because I started learning game development specifically for Reddit, I now find it quite hard to separate the two. So I was happy when this challenge dropped, because I had been thinking about exactly these things for quite some time. What brings people back to a game on Reddit, and what makes it Reddity?

Inspiration

Interactive drawing surfaces already exist in lots of places, including Reddit. But drawing on an equilateral triangle lattice feels unexpected, even when you do it every day. It produces a distinctive style almost immediately, and it's hard to resist coloring or drawing on one if it appears in your feed. That hypothesis ended up influencing almost every other design decision in the game.

I run an existing Phaser-driven game on Reddit, and I get a fair number of comments and messages from players. New levels drop every day, which is to say I design, curate and post them. I tune them a lot and get to quickly see what works and what doesn't, what gets conversation vs upvotes, and just how many different kinds of devices, expectations and ideas Redditors come with. I think it has taught me to plug into Reddit's rhythm and to take cadence seriously as a commitment, and that it's much more important to be consistent and reliable than right or grand. Redditors are curious, scrolling, engaging, sharing creatures. We like pausing at something playful between posts carrying opinions, stories and memes, seeing something that locks into a different part of our brains, maybe even something that can become part of our Reddit routines, just like Reddit itself is part of our daily routines. If a game community grows enough for folks to find each other, to connect over comments, to share hints and frustrations - that's like striking Reddit gold. But what makes that possible in the first place? Floodle grew out of that ongoing curiosity on my part.

What It Does

Floodle is a portmanteau of floodfill and doodle, and those two ideas became two halves of a whole. Every day begins with a new Fill post: a colorful floodfill challenge on a triangle grid. The goal is simple: fill the whole board into a single color in as few moves as possible. The twist is that nobody knows the shortest solution. The community discovers it together over the course of the day. The lowest move count found becomes that puzzle's par, and everyone races to match it before midnight. After that, it turns into a classic puzzle, where you can only solve it in the minimum moves. And if someone still beats it, the record belongs to them and becomes the new par.

The other half is Draw. Every fill challenge introduces a new five-color palette. There is no drawing prompt or theme, the palette is the prompt. Anyone can open the drawing surface from any Floodle post and create something using those five colors on the same triangle grid. Throughout the day the community selects from, plays and rates user drawings in a limited number of "pick-fill-rate" posts, and their votes ultimately decide which doodle becomes tomorrow's Community Fill challenge.

That relationship between fill, draw and the daily palette is the heart of the game. Every midnight's new challenge provides the day's palette, which drives the day's artwork and determines tomorrow's community pick. The same language appears everywhere. Every part of the game belongs to a shared cadence and invites players into the visual language of the "trixel" fill and draw. Maybe you race in today's fill challenge. Or open the drawing mode because you like the palette. Or help choose tomorrow's puzzle by testing community submissions. Maybe you come back because someone broke your record on an old fill, and you want to figure out how. Or because your own drawing became today's featured challenge. The goal is to create a unique space that offers both creativity and relaxation, challenge and satisfaction, all on a consistent, lively loop.

How I Built It

My existing Reddit experiences as a player and a game developer shaped the technology and design behind the game. Rather than hand-authoring puzzles, I built a generator that produces aesthetically pleasing triangle-grid floodfill boards that I can curate as the daily challenge. That lets Floodle sustain itself while still keeping each day feeling fresh, and makes it realistic for me to maintain two ongoing games on Reddit. Community-created puzzles become the second stream of daily content, allowing the game to grow with its user base. Weekly and all-time leaderboards along with galleries provide both current and long-term insights and avenues for play, and user privacy and data removal are treated as first-class concerns.

Visual feel was just as important to me as the mechanics. Floodfilling is an optimization puzzle, but I wanted it to feel dynamic and enjoyable, like brushing with paint. Every tap pours liquid color across textured paper. Regions merge with little waves of spreading paint. Splashes ripple through merging areas.

The logo animation also tells the story of the game's name, as paint literally transforms "floodfill" into a single color and a confetti of triangles coalesces into a "doodle", bringing both words to life before they combine into "Floodle".

All this interactive and animated experience, all the fun and juice of Floodle, is powered by Phaser. I used Phaser as the rendering, animation and interaction layer sitting on top of a custom CPU pixel renderer. Phaser handles the scenes, tweens, input, texture updates and WebGL effects that make every interaction feel immediate and alive inside Reddit's interactive posts, while the floodfill animations, paper textures, triangle rasterizer and logo animation are all driven by the same custom renderer.

Challenges, Accomplishments & Lessons

Building Floodle has been a time-consuming process full of lessons that I'm sure I haven't fully absorbed yet. The following are a few that jump to mind that can be described as challenges, accomplishments and lessons all rolled into one:

  • Making the fill feel like paint. Getting the color to spread out from where you actually tapped, flow around corners the way liquid does, and not blink on in weird disconnected patches. This is the main juice of the tap, so it took a lot of iterations and will probably continue to.

  • Finetuning the daily rhythm. The daily schedule is fully cron-driven, and getting the choreography right meant juggling a lot of separate beats across the day — closing races, dropping the puzzle, running the community pick-play-rate rounds, settling winners, all without anything dropped or colliding or firing twice. So I built it to be forgiving: the jobs are idempotent and self-healing, meaning a missed or duplicated run recovers on its own instead of dropping a day.

  • Making the puzzle generator. The generator is a reverse puzzle solver that works on the board's regions, hunts for a short solution with a beam search, and then reverses that solution into the puzzle itself. Because each puzzle is a solution played in reverse, its par is honest by construction. The challenge was balancing puzzle difficulty - creating non-obvious floodfills - and balancing that with the visual appeal of a generated puzzle. A board can be puzzling and ugly, or pleasing and super easy to solve - neither is optimal. So the generator doesn't color once, and instead of dealing with cells it lays down larger legible shapes (stripes, rings, hexagons, large triangles, little faces and cores) in a few different kinds of patterns - then tries a whole batch of different color assignments, solves each one for its actual par, and scores them on difficulty, color balance, and how crisp the edges read before crowning a winner. Getting "pretty," "puzzling," and "has a provably known answer" to all be true at the same time was one of the bigger rabbit holes in the project, but was also very satisfying to achieve.

What's Next for Floodle

For now my plan is to keep showing up every day, keep the cadence reliable, and let the people who play it shape where it goes. My hope is a bigger thing, and this is already long enough.

Thanks for playing!

Built With

  • ais
  • coffee
  • supportivespouse
Share this project:

Updates

Submission history