What it is
This is a turn-based virtual pet I built to test the full serverless stack on this site. You get thirty days with a monster called GigaBlob, and every action costs a day. Train it, rest it, play with it, or fight it. When the thirty days run out, or its HP hits zero, its stats pass down to the next generation.
The stack
The pet is drawn as inline SVG pixel art, so there are no image files anywhere. State is saved to Cloudflare KV through a Worker, and the chat voice runs on Workers AI. Right now the Worker is not wired up, so the page runs on a local mock. The play loop is identical either way.
The AI voice
The fun part is the chat. When you talk to GigaBlob, the Worker builds its system prompt from its live state. Low well-being makes it grumpy. A recent win makes it cocky. The AI key never leaves the server, and the prompt is built server-side.