develop-web-game

Automate HTML/JS game development with Playwright test loops and render_game_to_text.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/ollieb89/.codex --skill develop-web-game-ollieb89
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: develop-web-game
Source: https://github.com/ollieb89/.codex/tree/main/skills/.curated/develop-web-game
Command: npx skills add https://github.com/ollieb89/.codex --skill develop-web-game-ollieb89

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a structured development and testing loop for web games, enabling rapid iteration by integrating a Playwright-based automation workflow to validate changes, collect visual/textual state, and surface console errors.

Core Features & Use Cases

  • Deterministic, repeatable test cycles for HTML/JS games using a Playwright client.
  • Unified state observability via render_game_to_text and a simple time-stepping hook to advance frames.
  • Quick-start guidance for setting up the client and payloads to automate development QA.

Quick Start

Run the Playwright client against your local server to execute a short test loop and capture state after each iteration.

Frequently Asked Questions about develop-web-game

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run deterministic tests for an HTML/JS web game?▼

You can automate web game QA by integrating a Playwright-based automation loop that executes changes, advances frames via deterministic time stepping, and captures console errors for repeatable validation.

How does Playwright capture game state during web game QA?▼

Playwright captures game state by observing render outputs via the window.render_game_to_text function, while utilizing a simple time-stepping hook to advance frames and surface console errors.

Can I use Playwright to automate end-to-end testing for browser games?▼

Yes, you can use Playwright to automate end-to-end testing for browser games by running a structured test loop against your local server to validate small code changes and collect textual state.

What is deterministic time stepping in web game testing?▼

Deterministic time stepping in web game testing is a mechanism that advances frames in fixed intervals, ensuring that Playwright test cycles produce consistent, repeatable validation results.

Why does my web game automation loop return inconsistent results?▼

Your web game automation loop returns inconsistent results if it lacks deterministic time stepping or a programmable action payload, which are required by the Playwright client to ensure repeatable test outcomes.