develop-web-game

Automate end-to-end testing of HTML/JS web games with Playwright.

Updated Apr 4, 2026
One-click install
npx skills add https://github.com/hellitonsm/genesis-project --skill develop-web-game-hellitonsm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: develop-web-game
Source: https://github.com/hellitonsm/genesis-project/tree/main/tools/develop-web-game
Command: npx skills add https://github.com/hellitonsm/genesis-project --skill develop-web-game-hellitonsm

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a deterministic loop for building and validating HTML/JS web games by running a Playwright-based test script that executes small changes, pauses, and observes state through screenshots and console logs.

Core Features & Use Cases

  • Deterministic iteration cycle for web games: implement small changes, run test script, observe results.
  • Playwright-driven validation: execute actions from a payload, capture screenshots, and read render_game_to_text output for state verification.
  • Robust debugging aids: collect and report console errors and test artifacts to guide fixes.
  • Use Case: a developer iterates a game mechanic by incrementally updating code, running the Playwright client, and confirming expected visuals and logs.

Quick Start

Run the Playwright client against your web game URL with the configured actions file to start a deterministic test loop.

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 testing for HTML/JS web games?

Deterministic testing for HTML/JS web games is executed by driving a Playwright-based loop with time-stepped update cycles, capturing screenshots and console logs to validate state changes after small input bursts.

Can I use Playwright to automate web game state inspection and bug reproduction?

Yes, you can use Playwright to automate web game state inspection by executing configured action payloads, capturing render_game_to_text output, and reporting console errors to reliably reproduce and debug game mechanic bugs.

What is the best way to integrate a local Playwright client for web game regression checks?

The best way to integrate a local Playwright client for web game regression checks is to run it against your game URL with an actions file, establishing a deterministic test loop for repeatable input and visual validation.

Does Playwright support capturing screenshots and console logs during web game test automation?

Playwright supports capturing screenshots and console logs during web game test automation by executing actions from a payload, observing state through time-stepped pauses, and collecting test artifacts to guide fixes.

Why are my web game end-to-end tests not yielding repeatable results?

Web game end-to-end tests may not yield repeatable results if they lack a deterministic loop with time-stepped update cycles and validated state captures, which this Playwright-driven approach enforces for consistent observation.

Do I need Playwright installed to run deterministic web game testing?

Yes, you need Playwright installed as it serves as the core dependency for driving the deterministic test loop, executing input bursts, and capturing the screenshots and console logs required for state verification.