motely-wasm 14.3.3 → 15.0.0
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 +5 -4
- package/index.mjs +384 -393
- package/jaml.schema.json +172 -17
- package/package.json +1 -1
- package/types/bindings.g.d.ts +159 -168
- package/types/instances.d.ts +14 -17
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# motely-wasm
|
|
2
2
|
|
|
3
|
-
Find Balatro seeds with
|
|
3
|
+
Find Balatro seeds with JAML filters — Jimbo's Ante Markup Language. SIMD-vectorized seed search (Motely engine, C# → NativeAOT-LLVM WASM). Browser + Node.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -27,9 +27,10 @@ should:
|
|
|
27
27
|
score: 80
|
|
28
28
|
`;
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
MotelyWasmEvents.
|
|
32
|
-
MotelyWasmEvents.
|
|
30
|
+
// Events are mutable handler slots — assign your callback, do not call .subscribe().
|
|
31
|
+
MotelyWasmEvents.notifyResult = (seed, score, tallyColumns) => console.log(seed, score, tallyColumns);
|
|
32
|
+
MotelyWasmEvents.notifyProgress = (seedsSearched, matchingSeeds) => { /* … */ };
|
|
33
|
+
MotelyWasmEvents.notifyComplete = (status, totalSeedsSearched, matchingSeeds) => { /* … */ };
|
|
33
34
|
|
|
34
35
|
const search = MotelyWasm.startRandomSearch(jaml, 10000);
|
|
35
36
|
// later: search.cancel();
|