Look, we've all been there. Someone leaves two seconds on the microwave and doesn't hit clear. Someone eats the last slice of cold pizza with your name on the box. Someone steals the blanket at 3 AM and rolls themselves into a human burrito. In the real world, the cops won't help you and no real c
ourt cares. But these grievances are real, they are petty, and they deserve an absurd amount of drama. So over the weekend, I built Petty Court: The Court of Very Small Claims. Its motto: “Lex Minima · Est.
Five Minutes Ago.” Its presiding judge: The Honorable Reginald P. Pettiness. Here's how it works and how I built it. Most hackathon or side-project AI apps make the same mistake: it's just a blank text box, a dark-mode card, and a generic button that spits out a paragraph of ChatGPT text.
That gets old in 10 seconds. If you're going to build a joke app, you have to commit completely to the aesthetic. So instead of a form, I built an entire illustrated courthouse floor plan: The Entrance: You push through saloon-style double doors that swing open into the courtroom, complete with wooden gavel sound effects and live docket counters. Courtroom No.
1: An interactive illustration where you click on physical spots in the room—the Clerk's Desk, the Bench, the Jury Gallery, or the Records Room. Form PC-01: An official petition filed in duplicate. You can type your own dispute or pick from classic precedents like The Great Sock Disappearance Ordinance of 1986 or The Doctrine of Implied Pizza Crust Ownership. I wanted this to be fun to use with friends, so I built three separate ways to get a ruling: If you just want an immediate ruling in 1.2 seconds, Judge Reginald picks from a pool of satirical laws, creates formal "Findings of Fact" ("The defense's central theory appears to be 'it seemed fine at the time,' which is not a recognized unit of measurement"), stamps a giant red GUILTY on the screen, and hands down a petty sentence like: "Must surrender DJ privileges for one commute and endure the plaintiff's playlist with grace." And if you don't like it?
There's an Appeal button that appeals right back to the exact same judge. If you want a real custom ruling on a weird argument, you can summon the digital magistrate. Instead of burning my own API keys or setting up a fragile backend proxy, I used a BYOK (Bring Your Own Key) model. You paste in your OpenAI key, and the client sends your dispute and arguments directly with a strict prompt: // Judge Reginald's brain in a nutshell const systemPrompt = ` You are Judge Reginald P.
Pettiness, presiding over the Court of Very Small Claims. The case involves an extremely minor domestic grievance. Treat this matter with unwarranted Victorian judicial gravity. Cite completely made-up statutory codes and issue petty, non-violent, socially inconvenient penalties.
`; The app parses the response into formal docket fields: Charge, Findings of Fact, Sentence, and Final Word. This is where it gets fun. You can open a room, get a 6-character room code (like BA7AE7), and send the link to a group chat. Everyone picks a role: Judge (controls the courtroom, gavels people down, issues rulings) Plaintiff & Defendant (file their claims and defense statements) Witness (takes the stand, answers direct cross-examination questions) Jury (votes on who is actually in the wrong) It runs over lightweight WebSockets with temporary session tokens, so nobody needs to make an account or log in.
You just click, type a name, and start arguing. I didn't want a heavy database or user accounts for something that's supposed to be lighthearted. Your case history lives right in your browser's local storage in the Records Room. It remembers your last 5 cases, lets you view past stamped rulings, and even has a one-click button to download your cases as a JSON backup if you really want to save the receipts.
Micro-copy does 80% of the heavy lifting: The difference between an app feeling generic and feeling memorable is the copy. Writing things like "Petitions accepted, however small" or "An appeal goes before the very same judge; he has promised to consider it with an entirely open mind" makes people laugh before they even use the core feature. Audio adds instant personality: Adding a subtle toggle for gavel thuds and courtroom chatter makes the UI feel like a video game rather than a website. Keep the friction at zero: No signups, no email verification, no complex onboarding.
Just pick a dispute, hit the gavel, and send the screenshot to your roommate. If someone in your house is currently committing domestic crimes against snack etiquette or the thermostat, take them to court: 👉 The Game Medium Post LinkedIn Post Drop your pettiest roommate/partner dispute in the comments—Judge Reginald is in session.
Key Takeaways #
- •But these grievances are real, they are petty, and they deserve an absurd amount of drama.
- •This story was reported by Dev.to , covering developments in thedev space.
- •AI advancements continue to reshape industries — read the full article on Dev.to for complete coverage.
📖 Continue reading the full article: