No description
Adds three recipes to the built-in template library, each built on a Wave 2 trigger that previously had no pre-composed example: - Kamikaze Knight — on-captured with target: attacker, nested add-to-attribute Hp -2. Death-rattle that damages whichever piece made the fatal capture. - Berserker Pawn — on-move nested with add-to-attribute AttackBonus +1. Stacking rage: the pawn grows stronger with every move it survives. - Promotion Feast — on-promotion nested with seed-attribute Hp 5. When a pawn finally promotes, it starts its new life with a fresh 5 HP pool regardless of damage taken on the way up the board. Each recipe passes validateCustomDescriptor and lands in the editors Templates dropdown alongside the existing five. Recipe count: 5 → 8. |
||
|---|---|---|
| .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