No description
The Modifier Profile editor rendered four visible columns in practice: PerType | board | square-detail sidebar | library/presets. The inner split inside PerInstancePanel (board on the left, w-72 detail sidebar on the right) was the culprit — it squeezed the 8x8 board into a cramped square the moment a piece was selected. Restructure PerInstancePanel so the board stacks ABOVE the detail strip instead of beside it: - Board centered in the top region (full column width, max-w-md). - Detail strip below: horizontal flex with existing-modifiers list on the left and the Add Modifier form on the right, wrapping to stacked rows on narrow widths. max-h-[45%] so the board never loses most of its space when many modifiers are present. - Empty state gains a short one-line prompt; the Choose Layout button is kept for backward-compat with existing e2e tests. Testids unchanged (per-instance-panel, per-instance-board, instance-modifier-*, instance-modifiers-list, copy/paste-instance-modifiers, instance-modifier-kind, instance-modifier-value, instance-modifier-add, per-instance-choose-layout). All Playwright e2e tests continue to pass. |
||
|---|---|---|
| .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