Inspiration
What it does
How we built it
Challenges we ran into
Accomplishments that we're proud of
Inspiration
Rabbit Royale is our own game, made in Godot and out on Android and the web (iPhone coming). Rabbits dig across islands where any tile can hide a carrot, a chest or a bomb. Its challenge mode is one hand-made island, one chest, and never a forced guess. That already felt like a daily puzzle: the same board for everyone, a few minutes, a clean finish, a time to beat. So we brought it to Reddit.
What it does
- A new island every day. The post shows it right in the feed: the island with the rabbit on its start tile, today's leaderboard, and PLAY.
- Tap a tile next to the rabbit to hop there and dig. Numbers count the bombs around, like minesweeper. Right-click or the X button marks a bomb.
- Reach the chest and the clock stops. Step on a bomb and the run is over.
- Every island is checked by a solver, so you never have to guess. The ranking is about reading the board, not luck.
- Islands get harder through the week, then the next week starts easy again.
- Hit a bomb and you can try again, but the clock keeps adding up until your first chest, and the board shows how many bombs you took (0:35 · 💣 1). Only the bomb you stepped on is revealed, and replays after your first chest are practice. So nobody can memorise the island and come back for first place.
- Past islands stay playable, with their own boards: swipe the picture or use the island rail.
- Works inline in the feed, full screen in portrait on phones, and on desktop.
How we built it
- Embedding the Godot web export took about 5 seconds to start on a phone, too slow for a feed. So we ported the game's own code instead: GDScript to TypeScript, Godot shaders to GLSL, on a plain WebGL2 canvas with no engine.
- Godot checked the port itself. We had it write reference dumps (terrain, cubes, sea, scenery, rules, camera, particles) and compared them byte for byte with the TypeScript output.
- A small first pack and a low-res sea stand-in make the island playable in about 2 seconds on a phone.
- Devvit Web server on Redis: one-time run tokens, time measured on the server, a minimum plausible time per island, paged leaderboards.
- A scheduled job posts the day's island at midnight UTC and pins it.
Challenges we ran into
Matching Godot exactly in the browser: float32 maths, 10-bit viewports, the rounding Godot applies when it writes pixels. Fitting a game framed for landscape onto a phone held upright. Keeping the menu smooth on low-end phones.
Accomplishments that we're proud of
It looks like the real game because it is the real game's code, at a fraction of the weight, and it loads fast enough to play straight from the feed.
What we learned
- Porting can be cheaper than embedding. Once Godot could dump its own frames, every bug became a diff to chase instead of a vague "looks a bit off".
- Godot hides a lot: opaque viewports are 10-bit, pixels are rounded on write, and the sea shader only matches on the same GPU. We had to copy those quirks to look identical.
- On Reddit the post card is the first screen. The island picture has to show the rabbit and the chest at every size, from a phone held upright to a wide desktop feed, so the crop is chosen per island.
- A daily puzzle has to be fair before it is hard. No-guess islands are what make the leaderboard worth trusting.
What's next for Rabbit Royale Game
- Streaks for coming back every day.
- Post your time as a comment from the result screen, so each daily post becomes a thread of runs.
- Tune the difficulty from what players say in the comments, then add more weeks of islands.
What we learned
What's next for Rabbit Royale Game
Built With
- bun
- devvit
- glsl
- godot
- postgresql
- redis
- typescript
- webgl