develop-web-game

Automate end-to-end web game testing with Playwright and deterministic state capture.

5.8k|918|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/netease-youdao/LobsterAI --skill develop-web-game-netease-youdao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: develop-web-game
Source: https://github.com/netease-youdao/LobsterAI/tree/main/SKILLs/develop-web-game
Command: npx skills add https://github.com/netease-youdao/LobsterAI --skill develop-web-game-netease-youdao

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Build games in small steps and validate every change. Treat each iteration as: implement → act → pause → observe → adjust.

Core Features & Use Cases

  • Deterministic, Playwright-based test loop that drives a web game and captures render_game_to_text state.
  • Clear workflow: pick a goal, implement a small change, observe with screenshots and console logs, then iterate.
  • Shared payloads and references to orchestrate automated testing, progress tracking, and artifact generation.

Quick Start

Run the Playwright client against your game URL with the actions payload to start deterministic iteration and state capture.

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 end-to-end testing for a web game using Playwright?

Automate web game testing by orchestrating a Playwright-driven loop that advances time deterministically, captures state via render_game_to_text, and verifies results through screenshots and console logs.

What is deterministic time stepping in web game testing?

Deterministic time stepping advances game frames in controlled increments within a Playwright loop, ensuring reproducible state capture and consistent test execution for iterative feature development.

How do I capture and inspect game state during automated testing?

Capture game state during automated testing by utilizing the render_game_to_text function within the deterministic Playwright loop, allowing developers to observe and verify output at each step.

Can I use Playwright to test web games iteratively with screenshots?

Yes, Playwright supports iterative web game testing by driving deterministic frame loops, capturing screenshots, logging console output, and enforcing error capture for every implemented change.

What do I need to run deterministic Playwright loops for web game testing?

Running deterministic Playwright loops requires a local game URL, a Playwright runtime, and a prepared action payload to initiate stepping, state inspection, and artifact generation.

How do I validate small game feature changes during development?

Validate small game feature changes by following an iterative workflow: implement a change, execute actions via a payload, pause deterministically, observe state and screenshots, then adjust.