No description
- LayoutEditor: move Esc handling to a window keydown listener so the modal closes regardless of where focus currently sits (the prior onKeyDown on the modal div only fired when the root div itself held focus). - LayoutPicker: add data-testid on the description <p> so e2e assertions can target it unambiguously instead of relying on free-text matches that also select the hidden <option> labels. - e2e: use the new testid. All 12 layouts e2e tests pass; existing multiplayer + full-flow e2e suites still green. |
||
|---|---|---|
| .github/workflows | ||
| .sisyphus | ||
| docs | ||
| packages | ||
| scripts | ||
| .gitignore | ||
| eslint.config.js | ||
| lefthook.yml | ||
| LICENSE | ||
| package.json | ||
| playwright.config.ts | ||
| README.md | ||
| tsconfig.base.json | ||
| tsconfig.json | ||
| vitest.workspace.ts | ||
@paratype
A Doorenbos-style Rete II rules engine for TypeScript games, with an authoritative WebSocket chess demo.
Packages
packages/rete— Rete II engine corepackages/chess— Browser chess demo (React + Vite)packages/server— Authoritative Bun WebSocket server
Docs
- SPEC.md — Engine specification
- PHASES.md — Development phases & perf budgets
- RULES.md — Chess rule presets
- PROTOCOL.md — WebSocket message protocol
Getting Started
bun install && bun run check