Inspiration

How hard could it be to land a fried egg on a skateboard? That was the starting point for Daily Egg. We wanted to make a game you could learn in seconds and get a little better at with every attempt. A fried egg turned out to be a good fit. It bends, slides, and makes even a near miss fun to watch.

What it does

Daily Egg is a physics game you play right on Reddit. Tap to drop the egg into the pan, then tap again to flip it. The egg has to settle on the target for the landing to count.

Every day, everyone gets the same challenge. The leaderboard ranks players by fewest eggs used, with time breaking ties.

How we built it

We used Devvit to bring the game into Reddit, SolidJS for the interface, Canvas 2D for drawing, and Matter.js for physics. The egg is made of connected pieces, which lets it bend over the edge of a target or fold up when it lands.

The editor uses the same physics as the game, so creators can test a moving platform or a row of spikes as they build. It loads when someone opens it, which keeps the initial feed preview lightweight. Those previews replay missed landings so players can see how a level works while they scroll.

Challenges we ran into

Small changes to the physics had big effects. Adjusting friction could change both how long the egg stayed in the pan and whether it stayed put after landing. When we moved from Phaser’s physics integration to standalone Matter.js, we replayed the same inputs and compared the simulations frame by frame.

We also changed how we picked the daily challenge. We started with generated levels, then switched to a rotation of campaign levels we could tune and test ahead of time. Earlier daily posts kept their original levels and leaderboards.

Accomplishments that we're proud of

Players can also build their own levels and publish them as playable Reddit posts. Each level gets its own leaderboard, starting with the creator’s run.

What we learned

We learned how much a level can change the game without changing the controls. A narrow target makes you think about where the egg lands. A moving platform makes you think about when it gets there. The same two taps feel different in each case. That gave us room to make the daily challenges feel distinct and let players build levels with their own ideas about what makes a landing tricky.

What's next for Daily Egg

We want to keep adding levels to the daily rotation that make players rethink when to drop and when to flip. We’re also looking forward to seeing what people build with the editor and trying to beat the scores they leave on their own levels.

Built With

Share this project:

Updates

Submission history