develop-web-game

Automate HTML/JS web game testing with Playwright and deterministic time stepping.

1|Updated Mar 23, 2026
One-click install
npx skills add https://github.com/tvh25082004/warm-up --skill develop-web-game-tvh25082004
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: develop-web-game
Source: https://github.com/tvh25082004/warm-up/tree/main
Command: npx skills add https://github.com/tvh25082004/warm-up --skill develop-web-game-tvh25082004

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a streamlined process for developing and testing web games, making it easier to iterate on game features and validate changes effectively.

Core Features & Use Cases

  • Playwright Integration: Utilizes Playwright for automated testing and debugging of web games.
  • D deterministic Time-Stepping: Ensures consistent game state updates during automated tests.
  • Visual and Text State Inspection: Offers tools to capture and analyze game states visually and through text output.
  • Use Case: Ideal for game developers who need to quickly test game mechanics, UI elements, and performance in a controlled environment.

Quick Start

To begin testing your game, execute the following command: web_game_playwright_client --url http://localhost:5173 --actions-file action_payloads.json

Frequently Asked Questions about develop-web-game

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

FAQPage Schema
How do I automate testing for HTML and JavaScript web games?

Automate web game testing using Playwright to execute custom action payloads against your game. This approach enables automated debugging, deterministic time stepping, and screenshot capture to validate HTML and JS game mechanics.

Can I use Playwright to capture screenshots and buffer console errors in a web game?

Yes, Playwright integration supports screenshot capture for visual inspection and console error buffering during web game testing. These features allow you to analyze game states and debug issues within a controlled environment.

What is deterministic time stepping in automated game testing?

Deterministic time stepping ensures consistent game state updates during automated tests. By controlling the time progression, you can reliably reproduce and validate game mechanics and UI behavior across multiple test runs.

How do I run automated web game tests with an actions file?

Run automated web game tests by executing the client command with your game URL and a custom actions file. The actions file provides specific payloads that dictate the automated inputs executed within the Playwright environment.

Does automated web game testing support visual and text state inspection?

Yes, the testing process offers tools to capture and analyze game states both visually through screenshots and through text output. This allows developers to comprehensively verify game mechanics and UI elements.

Why do I need custom action payloads for Playwright game testing?

Custom action payloads are required to define the specific automated inputs and interactions for Playwright to execute during web game testing. They provide the structured sequence of actions needed to test game mechanics effectively.