特務機関ネルフ // INCIDENT REPORT // CASE No.002
Promptionary
2026 // ● CLOSED
- Node.js
- Socket.io
- TypeScript
- Gemini API
- Next.js

概要 // SUMMARY
A SwampHacks XII party game: describe a secret image without its banned words, Gemini draws what it heard, and everyone races to guess it.
問題 // PROBLEM
AI tools usually hide the gap between what you say and what the model understands. Promptionary makes that gap the game. One player describes a secret image out loud without saying its banned words, Gemini draws what it heard, and the other players race to guess the image. It had to run live on a shared screen with up to eight phones joining by QR code, be built over one hackathon weekend, and survive free-tier AI quotas.
対処 // APPROACH
- 01Built in a team of two with Samantha Anglo, who did the frontend, the product design and the deployment. Gabriel built the game server, designed the game, and wrote the core Gemini pipeline.
- 02The server, written in TypeScript with Express and Socket.io, owns all game state: a state machine runs every room, phase, timer and score, and the host screen and phones only render what it broadcasts. Deadlines are sent as timestamps, so every screen counts down to the same moment.
- 03Reconnect handling gives a describer who refreshes their phone a grace period to rejoin before their turn is skipped.
- 04Gemini transcribes the description and draws it. A single structured-JSON call then scores the drawing against the target, rates every guess and writes a roast caption, which uses one call of the free-tier quota instead of several.
- 05Designed the two-round format and the points system: accuracy, clarity, speed and banned-word penalties, with guess values that scale with room size and a 1.5x second round.
- 06Expanded the target bank from 20 to 100 scenes and gave the cards and the AI's drawings a shared art style, so the two can be compared directly.
- 07An automated five-bot game checks every payload against the data contract, and runs in CI alongside the unit tests on every pull request.
結果 // RESULT
A playable 2–8 player game with no accounts or installs, submitted to five SwampHacks XII tracks, including Best Use of Gemini API and Best Entertainment & Creative Technology Hack.