Build a playable Cookie Shop Tycoon game with Codex

Kevin used OpenAI Codex to build, iterate, test, and cloud-deploy a browser cookie-shop tycoon game from a single prompt.

Used for
Creative
Skill needed
No code
Shown in video
Partial demo
Summary based on
Transcript
Kevin StratvertWatch on YouTube

How to Use OpenAI Codex (Step-by-Step Tutorial)

Published Oct 8, 202617:11277,822 views2,383 likes

Key moments

  • 3:35Codex finishes the first playable game
  • 9:23Three parallel agents work on separate features
  • 15:41Customer satisfaction feature built in Codex Cloud

What they made

A working browser game with animated customers, cookie types, upgrades, a reusable test skill, and a customer satisfaction feature built in Codex Cloud.

15:41

How they did it

  1. Human1:48

    Created a local project folder and described a browser cookie-shop tycoon game in plain language.

    Stated in video · Codex
  2. AI3:35

    Generated the game files and code from the prompt in about 3 minutes 10 seconds.

    Stated in video · Codex
  3. AI + human5:37

    Tested the game, then asked Codex to add animated customers; it modified game.js, index.html, and readme.

    Stated in video · Codex
  4. AI8:22

    Created a Git commit for the animated-customer changes on request.

    Stated in video · Codex
  5. AI9:23

    Ran three isolated worktree agents for cookie types, upgrades, and visuals, then merged the cookie-types feature into the main project.

    Stated in video · Codex
  6. AI11:54

    Created and ran a reusable Game Tester skill that checked controls, calculations, and money/cookie constraints.

    Stated in video · Codex
  7. AI15:11

    Pushed the project to GitHub and built a customer satisfaction system remotely in Codex Cloud.

    Stated in video · Codex Cloud

What you can reuse

  • Describe the desired game in plain language and let Codex create the project files.
  • Use isolated worktrees to run multiple feature agents in parallel and merge only what you keep.
  • Turn repeated testing instructions into a reusable Codex skill.

Trade-offs

  • The creator notes the game is a simple example and does not show detailed code review.
  • Cloud setup requires a GitHub account and linking it to ChatGPT.

AI-generated case summaries can contain mistakes. Report an error

Related cases