Pokémon TCG Live Attacks is a complete digital Pokémon Trading Card Game — 20,444 cards from 174 sets, playable against three tiers of CPU or online — where every attack produces a short AI-generated video of that attack landing. The ordering is the whole design: the rules engine resolves damage, weakness, coin flips, and knockouts before a single token of the prompt is written, so the video describes a decided outcome.
The hard part is not calling a video model. It is making 28,000 printed attacks resolve faithfully, keeping two players and a server in agreement without trusting any of them, and hiding a minute of generation latency behind work that is already done. Most of the engineering is a deterministic engine, cache-warming that starts the moment a card reaches a hand, and prompts that are honest about what the board decided.
It runs on Google Cloud: Next.js on Cloud Run, live match state in Firestore so any instance can serve either player, API keys mounted from Secret Manager, and a Gemini director that authenticates as the service account so there is no key to leak.