build-small-hackathon/phantom-grid
๐ต๏ธ Phantom Grid
An AI-driven noir detective game. You are a detective hunting a phantom suspect across a stylized London grid. Issue notices, raise lookouts, set blockades, and interview AI-roleplayed witnesses whose memories decay over time โ all rendered in a custom gr.Server HTML/JS board interface
Track: Delightful โ Thousand Token Wood (an AI-driven game).
๐ Prize-category badges
- ๐ฎ Thousand Token Wood / Delightful โ a playable, AI-driven detective game.
- ๐จ Off Brand โ fully custom
gr.ServerHTML/JS frontend, well beyond the stock components. - ๐ชถ Small & Mighty โ runs entirely on a single under-32B model (MiniCPM4.1-8B).
๐ค Model & inference
- Model: `openbmb/MiniCPM4.1-8B` (text, bf16 transformers) โ ~8B params, well under the 32B cap.
- Inference: in-process Hugging Face
transformers, placed oncudaat module load (using ZeroGPU's PyTorch CUDA emulation), with the real GPU attached only inside a@spaces.GPU-decoratedgenerate()call.
๐ฅ๏ธ Hardware
Runs on ZeroGPU (NVIDIA RTX Pro 6000 Blackwell, large / 48 GB VRAM; 40 min/day for Team org members). Each generation is capped at PHANTOM_GRID_ZEROGPU_DURATION seconds (default 90). No voice path for now (PHANTOM_GRID_WITNESS_CHAT_TTS=0).
๐ฅ Demo video
https://www.youtube.com/watch?v=p8iSjatInXo
๐ฃ Social post
Launch post on X: https://x.com/unityashtv/status/2066633879109382378
โถ๏ธ How to play
Start a new case, read the briefing, then use the board tools (notices, lookouts, blockades, searches) and question witnesses to corner the suspect before the turn limit.
Local Deployment
For running a version of the game with a locally running llama cpp backend find the code at https://github.com/U4AR/JohnDoe
