mons-rules 0.4.0 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -27,6 +27,11 @@ Use `preview` to inspect typed inputs without mutation. Use `play` or `playFen`
27
27
  to apply a complete legal move. Serialize with `toFen` and restore with
28
28
  `Game.fromFen`.
29
29
 
30
+ Fast and Normal suggestions use cooperative time-bounded search. The exact move
31
+ can vary with runtime, JIT, cache, and garbage-collection timing. Suggestions
32
+ remain legal and do not mutate the source game. Environments without `WeakRef`
33
+ use the canonical Fast and Normal selectors instead of the packed search path.
34
+
30
35
  Published JavaScript targets ES2020 and uses Web-standard `performance` and
31
36
  `crypto` globals. Node.js 22.13 through 22.x, or Node.js 24 or newer, is
32
37
  required for Node consumers and repository tooling.
@@ -38,6 +43,16 @@ npm ci --engine-strict
38
43
  npm run check
39
44
  ```
40
45
 
46
+ For a fast integrity check of the immutable complete-games corpus without a
47
+ rules replay, run:
48
+
49
+ ```sh
50
+ node ./scripts/run-complete-games.mjs --check-only
51
+ ```
52
+
53
+ The repository's intended dependency boundaries and tooling layout are
54
+ described in [docs/architecture.md on GitHub](https://github.com/supermetalmons/rules/blob/main/docs/architecture.md).
55
+
41
56
  ## Release
42
57
 
43
58
  ```sh
@@ -1,4 +1,4 @@
1
1
  export { Game } from "../api/game.js";
2
2
  export { resolveMatch } from "../api/winner.js";
3
- export { Color, Consumable, GameVariant, Modifier, MonKind, } from "../api/types.js";
3
+ export { Color, Consumable, GameVariant, Modifier, MonKind } from "../api/types.js";
4
4
  export type { AvailableMoveCounts, BoardItem, GameEvent, Input, InputResolution, Mana, Mon, Position, Square, } from "../api/types.js";