@slot-engine/core 0.0.1
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/.turbo/turbo-build.log +33 -0
- package/.turbo/turbo-typecheck.log +4 -0
- package/CHANGELOG.md +7 -0
- package/README.md +8 -0
- package/dist/index.d.mts +1306 -0
- package/dist/index.d.ts +1306 -0
- package/dist/index.js +2929 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +2874 -0
- package/dist/index.mjs.map +1 -0
- package/dist/lib/zstd.exe +0 -0
- package/dist/optimizer-rust/Cargo.toml +19 -0
- package/dist/optimizer-rust/src/exes.rs +154 -0
- package/dist/optimizer-rust/src/main.rs +1659 -0
- package/index.ts +205 -0
- package/lib/zstd.exe +0 -0
- package/optimizer-rust/Cargo.toml +19 -0
- package/optimizer-rust/src/exes.rs +154 -0
- package/optimizer-rust/src/main.rs +1659 -0
- package/package.json +33 -0
- package/src/Board.ts +527 -0
- package/src/Book.ts +83 -0
- package/src/GameConfig.ts +148 -0
- package/src/GameMode.ts +86 -0
- package/src/GameState.ts +272 -0
- package/src/GameSymbol.ts +61 -0
- package/src/ReelGenerator.ts +589 -0
- package/src/ResultSet.ts +207 -0
- package/src/Simulation.ts +625 -0
- package/src/SlotGame.ts +117 -0
- package/src/Wallet.ts +203 -0
- package/src/WinType.ts +102 -0
- package/src/analysis/index.ts +198 -0
- package/src/analysis/utils.ts +128 -0
- package/src/optimizer/OptimizationConditions.ts +99 -0
- package/src/optimizer/OptimizationParameters.ts +46 -0
- package/src/optimizer/OptimizationScaling.ts +18 -0
- package/src/optimizer/index.ts +142 -0
- package/src/utils/math-config.ts +109 -0
- package/src/utils/setup-file.ts +36 -0
- package/src/utils/zstd.ts +28 -0
- package/src/winTypes/ClusterWinType.ts +3 -0
- package/src/winTypes/LinesWinType.ts +208 -0
- package/src/winTypes/ManywaysWinType.ts +3 -0
- package/tsconfig.json +19 -0
- package/utils.ts +270 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
|
|
2
|
+
> @slot-engine/core@0.0.1 prebuild /home/runner/work/slot-engine/slot-engine/packages/core
|
|
3
|
+
> pnpm typecheck && pnpm copy-files
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
> @slot-engine/core@0.0.1 typecheck /home/runner/work/slot-engine/slot-engine/packages/core
|
|
7
|
+
> tsc --noEmit
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
> @slot-engine/core@0.0.1 copy-files /home/runner/work/slot-engine/slot-engine/packages/core
|
|
11
|
+
> tsx ../../scripts/copy-core-files.ts
|
|
12
|
+
|
|
13
|
+
✅ Files copied successfully.
|
|
14
|
+
|
|
15
|
+
> @slot-engine/core@0.0.1 build /home/runner/work/slot-engine/slot-engine/packages/core
|
|
16
|
+
> tsup ./index.ts --dts --format cjs,esm --sourcemap
|
|
17
|
+
|
|
18
|
+
[34mCLI[39m Building entry: index.ts
|
|
19
|
+
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
20
|
+
[34mCLI[39m tsup v8.5.0
|
|
21
|
+
[34mCLI[39m Target: es2022
|
|
22
|
+
[34mCJS[39m Build start
|
|
23
|
+
[34mESM[39m Build start
|
|
24
|
+
[32mCJS[39m [1mdist/index.js [22m[32m93.83 KB[39m
|
|
25
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m193.64 KB[39m
|
|
26
|
+
[32mCJS[39m ⚡️ Build success in 127ms
|
|
27
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m90.37 KB[39m
|
|
28
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m193.21 KB[39m
|
|
29
|
+
[32mESM[39m ⚡️ Build success in 129ms
|
|
30
|
+
[34mDTS[39m Build start
|
|
31
|
+
[32mDTS[39m ⚡️ Build success in 2038ms
|
|
32
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m42.85 KB[39m
|
|
33
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m42.85 KB[39m
|
package/CHANGELOG.md
ADDED
package/README.md
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
> [!NOTE]
|
|
2
|
+
> This software **is work in progress** and may currently miss features or contain bugs. Feel free to contribute to help improve this project. Breaking changes may occur at any time during beta.
|
|
3
|
+
|
|
4
|
+
# Slot Engine Core
|
|
5
|
+
|
|
6
|
+
Library for configuring and simulating slot games. Produces output compatible with Stake Engine / Stake RGS.
|
|
7
|
+
|
|
8
|
+
[📖 Documentation](https://slot-engine.dev/docs/core)
|