Skip to main content

Build a single-file HTML game with a coding agent

Blyth built its Playable Kit to help coding agents turn a prompt into a game you can share as one HTML file. I tried that constraint with Mothlight, a tiny lane game where a moth catches lanterns and dodges thorns. The Playable Game Skill repository has the original game, a Canvas starter, and a Node script that checks the file size and runs the drawing loop.

Build a single-file HTML game with a coding agent

Read the full guide free

Sign up free

Already have an account? Log in