I really like Ace Attorney. You poke around a crime scene, pick up evidence, then stand in court and catch a witness lying with the one thing that proves it. But the last new game came out about ten years ago. Since then it’s mostly been re-releases. I wanted more cases.
So I made Open-Attorney. It’s a courtroom mystery game that runs in a browser tab, plus the tools to write your own cases and share them. Nothing in it comes from those games. The characters, the art, the music and the two cases it comes with are all original.

Playing a case
A case has two halves. First you investigate: look around a room, talk to whoever is there, show them things, then move on to the next place. Then you go to court. A witness testifies one statement at a time and you can press them on any of it. When a statement doesn’t match the evidence, you present the evidence. Present the wrong thing too many times and it’s over.


The case you start with is The Vanishing Gourd. A small town’s golden squash goes missing the night before the Harvest Festival, and the night guard says he only stepped out for pie. It takes about ten minutes, and it plays fine on a phone.

Writing one
A case is one text file that reads like a script: who’s talking, what face they’re making, what they say, and where it goes next. The editor shows that same file as a flowchart. Every scene, room and testimony is a node, and the lines between them are the ways a player can get from one to another. Change the script and the flowchart follows. Add a node in the flowchart and it shows up in the script.

Click any node, hit play, and the game starts right there. So you can test the ending without clicking through the first ten minutes again.

It checks that you can finish
Before you can export a case, the editor walks the node tree and makes sure a player can actually get to the ending. Every testimony needs a contradiction you can really find, and you can’t walk into court without the evidence you’ll need once you’re in there.
Say the door to the courtroom asks for a receipt, and nothing in the case ever gives you one. The editor says so, points at the line, and won’t export until you fix it. It runs while you type, so most of the time it’s just a green badge in the corner.
Sharing
The goal is to make this easy enough that a lot more people make cases. A finished case is one file. Put it anywhere that hosts files and send a link, and whoever opens the link is playing your case. There are no accounts and nothing to upload to.
A list of cases is just a JSON file, and anyone can keep one. You add the lists you like and their cases show up on your shelf. Or skip all that and drag a case file onto the page.
Your own art and sound
Everything built in is drawn in code and the music is synthesized, so it ships without a single image or audio file. You can still bring your own. Drop in character sprites, backgrounds and music as a folder or a zip, and use them in your case. It reads packs laid out the way Attorney Online lays them out, and there are a lot of those around. So if you happen to have a folder of courtroom sprites lying around, it’ll probably just work.
Whatever you import stays in your browser. It never gets uploaded anywhere.
Agents can write cases too
There’s a command-line tool that runs the same check, and two docs that explain the script format. That’s enough for a coding agent to write a whole case and know when it’s done. The second case it comes with, The Velvet Alibi, started out that way: an agent got the docs and the tool, and nothing else.
What’s next
More cases, and more built-in rooms and characters to write them with. And putting it online somewhere, so this page can have a play button.