Team Ai
Apppublic

build-small-hackathon/phantom-grid

sourceHugging Facemitupdated 4mo agoView on Hugging Face
2likes
App README

๐Ÿ•ต๏ธ 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.Server HTML/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 on cuda at module load (using ZeroGPU's PyTorch CUDA emulation), with the real GPU attached only inside a @spaces.GPU-decorated generate() 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