Skip to content
The Liberation Engine

Things to make / Recipe 01 of 13 · Play

A playable game from one sentence

Catch messages before the tide reaches the lighthouse.

What the agent made

Ran it for real with Claude Code 2.1.292 and OMP 18.8.5 on 2026-10-08, in an empty session with no saved memory. Your result will differ.

The same prompt in OMP made its own version: open what OMP made. Two runs, two different results: that is normal.

Make your own

  1. Get the files

    Make an empty folder called cli-practice in Downloads. No downloads: start in an empty folder.

  2. Open your agent in that folder

    Open a terminal in cli-practice and type claude or omp --approval-mode always-ask. First time? Set up in about five minutes, with steps for Mac, Windows, and Linux.

  3. Paste this prompt

    Make a tiny browser game: A lighthouse keeper catches messages before the tide rises. Save one self-contained game.html here. Include keyboard arrow keys and tappable on-screen movement buttons, score, three lives, a tide countdown, restart, and instructions. Catching a message increases score; missing one costs a life; after three misses show game over. Keep controls usable on phones. Work only inside this practice folder; never edit input files, install packages, call APIs, send messages, or use external assets. The file must work offline. Use no em dashes or en dashes.

    The prompt asks the agent to stay in this folder; it cannot enforce that. Read each file change and command before you approve it.

  4. Check it yourself

    Open cli-practice/game.html in your web browser (double-click it), then:

    Human check: Move with keyboard and on-screen buttons, catch a message, miss three, restart, and play again.

    When we checked the recording above: Opened mobile-sized browser page, started a round, used ArrowLeft and held the on-screen left button; caught 2 bottles, watched three misses trigger Game over, used Play again and Restart and saw a fresh round progress. No external requests.

Why an agent, not a chat window

An agent writes and checks a working local game file instead of leaving you to assemble code from a chat reply.