agentic-workflows-portfolio

Forest Knight

A side-scrolling mobile game I built with my 4-year-old son: he designed the bosses, I wrote the prompts, and we edited the game together every time we played it.

hero

The Problem

My son is four. He loves playing video games on tablets. I wanted him to understand something important: the people who play games are cool, but the people who build them are cooler. The only way to show that was to build one with him (not for him) and let his imagination drive it.

The Solution

We opened Claude Code together and I typed what he asked for. A knight. A forest. Zombies. A dragon. Then he invented the bosses himself: a poop knight, a bee queen, an alien named Bratt. The first playable version was ready in about 20 minutes. After that, every time we played, something would spark an idea (“the dragon should shoot fire”, “I want a lightning ball”) and we’d jump back into Claude Code, change it, and keep playing.

The game runs in the browser, works on a phone with touch controls, and is entirely in Spanish so he can read the level names as he plays.

Screenshots

Level 1: Pradera Encantada. First boss is the Poop Knight.

Joystick on the left, attack button on the right, designed for a kid’s thumbs on a phone.

Result

Key Decisions

Under the Hood

Stack: HTML5 Canvas, vanilla JavaScript (no framework), Claude Code as the co-builder

Single-page game, no build step. Entities, levels, particles, sprites, HUD, and input each split into their own JS files so Claude Code can edit one piece without touching the rest. Runs from any static file server.

How to Demo It

  1. Open index.html in Chrome (or serve the folder).
  2. On mobile: joystick to move, attack button to hit.
  3. Walk into Pradera Encantada, beat the zombies, then the Poop Knight.
  4. Tell the story: “The 4-year-old designed that boss. And the next one. And the next.”

Limitations & Setup

Demo Pitch

“This is a game I built with my four-year-old son in about 20 minutes. He designed the bosses. Now every time we play, we edit the game together. That’s what AI tools like Claude Code unlock: not just code, but creative collaboration with a kid who can barely read.”