No description
Audited all 15 preset incompatibilities. Five of the six declared pairs are genuine mechanical conflicts (rook-warp vs wrap-board have contradictory board-topology semantics; piece-hp vs explosive-rook define capture as damage vs removal; capture-to-win vs last-piece-standing are competing win conditions). The pawns-move-backward vs double-pawn-sprint pair is not — both are pure additive getExtraMoves hooks over the base pawn rule; the move sets are disjoint (backward-1 vs forward-2); and no generated move contradicts any other. Dropped the declaration from both preset files. Moved the mutually-incompatible-pair tests to use rook-warp vs wrap-board, which is the canonical genuine-conflict pair and exercises the same compat machinery. |
||
|---|---|---|
| .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