Portfolio

Retro AI Pet

A turn-based virtual pet with a live AI voice. Train it, battle it, and pass its stats down the generations.

GigaBlob

Baby / Brawler / Feisty

Day 0/30 / Gen 1

Log

Stats

Gen
1
Day
0/30
Power
10
Ladder
0
Last battle
No battles yet
HP100/100
Well-being50/100

Actions

Talk to your pet

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.