Here's the full text with only the art parts rewritten, plus sound and one new challenge. It doesn't mention the switch from pixel art.
Inspiration
Cooking shows like Chopped have a perfect daily-game shape: a mystery basket, a time limit, and a judge with opinions. But cooking games usually score you on speed or matching a recipe, never on how you cooked. We wanted a bite-sized daily game where technique actually matters, where everyone on Reddit gets the same three ingredients and the whole community can compare what they made of them.
What it does
Daily Basket drops one shared challenge per day, right inside a Reddit post: 3 mystery ingredients and 1 critic with strong tastes (Rosa from Houston wants heat; Dottie from Georgia can't stand anything soggy).
You cook one dish across three stations:
- Board: swipe to chop. Cut size changes how fast things cook.
- Heat: hold to sear in the pan, drop things in the fryer, or set the pot boiling while you work elsewhere. You watch the food brown, hear it sizzle, and the live doneness and browning meters show the target window. A few seconds too long and it burns.
- Pantry: 8 jars (salt, olive oil, lime, chili, sugar, soy sauce, cinnamon, butter).
Then you plate it, name it with word pickers, and get scored out of 100:
- Technique (40): did each ingredient land in its doneness and browning window?
- Balance (35): salt, acid and fat, with no single flavor dominating
- Critic (25): how well the dish matches today's critic
Every point is explained ("Seared on high, pulled right in the window: +9"). You get one ranked cook per day, then an unlimited Test Kitchen. Share your dish to the post's pinned "Today's Kitchen" thread, where upvotes crown the People's Choice, announced on the next day's post. Streaks bring you back tomorrow.
How we built it
- Devvit Web app: React 19 + Tailwind client, Hono server, Redis for leaderboards, results, streaks and People's Choice, and scheduled jobs that publish the daily post at 00:00 UTC and tally upvotes at 00:05.
- A deterministic cooking engine in shared TypeScript. It runs a fixed-step simulation at 10 ticks/s, and the client sends only an action log. The server replays it with the same code and computes the score, so the client's score is never trusted. Browning depends on heat squared while doneness depends on heat and cut size:
$$\Delta b \propto H^2 \cdot (\text{sugar} + \text{protein}) \cdot (1 - m), \qquad \Delta d \propto H \cdot k_{\text{cut}}$$
High heat sears the outside faster than it cooks the inside, so a whole steak on high burns before it's done, while diced pieces cook through. That trade-off is the core skill.
- Solvability CI: a brute-force search over cut × method × heat × time proves each of the 30 curated baskets can reach 88–100, while lazy play (everything raw, a pinch of salt) stays under 45. CI fails if any basket breaks these targets.
- Server-only secrets: future baskets, critic weights and balance targets never ship in the client bundle, and a guard test checks this.
- Stylized 3D art, made offline: 164 images generated with Nano Banana Pro (Gemini 3 Pro Image): 28 ingredients, 8 pantry jars, kitchen props and 7 fictional critics. Every food has five states (raw, cooked, burnt, chopped raw, chopped cooked). Each cooked state is drawn from its raw image, so the same mango stays the same mango as it browns. A custom Node + sharp script keys each image off a magenta backdrop, cleans the edges and writes small transparent WebPs. In the game, the cooked image fades in over the raw one as the engine's browning or doneness rises, so what you see is the simulation.
- Sound, made offline: 17 effects generated with ElevenLabs (knife chops, pan sizzle, rolling boil, fryer crackle, the burner lighting, plate, service bell, and a win or fail sting). The cooking loops follow whatever is on the heat. There's a mute button, and nothing calls an AI service at runtime.
- Built with Claude Code for the engine and app, and Claude Design for screens and the handoff spec.
Challenges we ran into
- Making the score fair and explainable. Early versions let seasoning alone earn 60/100 regardless of cooking. Two rules fixed it: balance and critic points scale with your weakest ingredient's technique, and stacking a third item on one heat station earns no technique.
- Real phones in the Reddit app. Hold-to-cook would occasionally stick or release early. A shared pointer-capture hook made it reliable: only the finger that started a hold can end it, and stray events like a second finger or a lost focus don't.
- Boiling was boring: holding a button for 30 seconds is not cooking. The pot became a set-and-forget toggle that runs while you work other stations, so juggling became a skill.
- Content balance: adding soy sauce made umami too easy and broke 11 baskets. We re-tuned it and re-curated all 30 against the targets.
- Clean cut-outs from generated art. Shiny steel reflected the magenta backdrop, and dark shadows got keyed as part of the food. We rewrote the keying as a flood fill from the border that removes magenta spill, and we redrew reflective props in matte finishes.
Accomplishments that we're proud of
- A score players can read like a recipe review, with every point traceable to something they did.
- Replay-verified results, so the leaderboard can't be won by editing the client.
- A warm, consistent look across 164 images, where you can watch food cook and burn because the art is driven by the same numbers that score you.
What we learned
Daily games live or die on clarity: a meter that says "In the window" has to mean it. We also learned how far a small, honest physics model goes. Two equations created more interesting decisions than any recipe list would have.
What's next
More critics and seasonal baskets, a "simmer and reduce" mechanic for sauces and milk, user flair for People's Choice winners, and weekly themed cook-offs.
Built With
- claude
- devvit
- elevenlabs-api
- hono
- nano-banana
- node.js
- react
- redis
- sharp
- tailwindcss
- typescript
- vite
- vitest
