No description
Adds ModifierTooltip component that reads MODIFIER_REGISTRY attrs from engine.session for the hovered piece and renders them as labelled rows. The tooltip always appears on piece hover (piece type + color header) and shows modifier rows only when modifier facts are set on the entity. Board.tsx gains an optional onPieceHover callback; GameView.tsx tracks hoveredPieceId and renders the tooltip absolutely in the board wrapper. A 120ms hide-delay prevents flicker when cursor briefly leaves a piece. Two Playwright tests added: hover shows tooltip with piece name; hover over unmodified piece shows zero modifier-tooltip-row elements. |
||
|---|---|---|
| .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