@betorigami/games 3.4.19 → 3.5.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/dist/index.mjs +11225 -17170
- package/dist/src/components/diamonds/DiamondsContent/DiamondsContent.d.ts +0 -1
- package/dist/src/components/diamonds/diamonds.utils.d.ts +8 -0
- package/dist/src/components/keno/KenoGame.d.ts +5 -0
- package/dist/test/advanced-dice/advanced-dice-api.test.d.ts +1 -0
- package/dist/test/blackjack/blackjack-api.test.d.ts +1 -0
- package/dist/test/blitz/blitz-api.test.d.ts +1 -0
- package/dist/test/diamonds/diamonds-api.test.d.ts +1 -0
- package/dist/test/diamonds/diamonds-highlight.test.d.ts +1 -0
- package/dist/test/dice/dice-api.test.d.ts +1 -0
- package/dist/test/limbo/limbo-api.test.d.ts +1 -0
- package/dist/test/mines/mines-api.test.d.ts +1 -0
- package/dist/test/plinko/plinko-api.test.d.ts +1 -0
- package/dist/test/roulette/roulette-api.test.d.ts +1 -0
- package/package.json +3 -4
|
@@ -5,7 +5,6 @@ export declare class DiamondsContent extends OrigamiElement {
|
|
|
5
5
|
private readonly preferences;
|
|
6
6
|
private readonly layout;
|
|
7
7
|
static styles: import('lit').CSSResult[];
|
|
8
|
-
isPlaying: boolean;
|
|
9
8
|
resultGems: number[] | null;
|
|
10
9
|
autobetInProgress: boolean;
|
|
11
10
|
private hoveredMultiplierIndex;
|
|
@@ -63,6 +63,14 @@ export type DiamondMatchInfo = {
|
|
|
63
63
|
* @returns Object containing level and matched gem details
|
|
64
64
|
*/
|
|
65
65
|
export declare function calculateDiamondsMatch(gemIndices: number[], appearedMask: boolean[]): DiamondMatchInfo;
|
|
66
|
+
/**
|
|
67
|
+
* Gets the payout level to highlight, or null until at least one gem has appeared
|
|
68
|
+
*
|
|
69
|
+
* @param gemIndices - Array of gem type indices (0-6)
|
|
70
|
+
* @param appearedMask - Boolean array indicating which gems have appeared
|
|
71
|
+
* @returns The current level (0-6), or null when no gem has appeared
|
|
72
|
+
*/
|
|
73
|
+
export declare function getHighlightedLevel(gemIndices: number[], appearedMask: boolean[]): number | null;
|
|
66
74
|
/**
|
|
67
75
|
* Calculates which slots should have color highlights based on matched gems
|
|
68
76
|
*
|
|
@@ -26,6 +26,11 @@ export declare class KenoGame extends GameComponent {
|
|
|
26
26
|
get isToggleDisabled(): boolean;
|
|
27
27
|
get areInputsDisabled(): boolean;
|
|
28
28
|
private readonly getKenoApi;
|
|
29
|
+
/**
|
|
30
|
+
* The gap between result tiles in an animated reveal. Operators can change it with the
|
|
31
|
+
* --keno-tile-reveal-interval theme variable; anything unset or unparseable keeps the default.
|
|
32
|
+
*/
|
|
33
|
+
private getTileRevealInterval;
|
|
29
34
|
private _getGemPitchFromHits;
|
|
30
35
|
private playGemRevealFeedback;
|
|
31
36
|
private playLossGemRevealFeedback;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@betorigami/games",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.0",
|
|
4
4
|
"author": "",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"description": "",
|
|
@@ -26,11 +26,10 @@
|
|
|
26
26
|
"@lit/context": "^1.1.5",
|
|
27
27
|
"big.js": "^7.0.1",
|
|
28
28
|
"lit": "^3.3.0",
|
|
29
|
-
"lottie-web": "^5.13.0",
|
|
30
29
|
"matter-js": "^0.18.0",
|
|
31
30
|
"web-haptics": "^0.0.6",
|
|
32
|
-
"@betorigami/game-ui-shared": "
|
|
33
|
-
"@betorigami/game-ui-wheel": "1.
|
|
31
|
+
"@betorigami/game-ui-shared": "5.0.0",
|
|
32
|
+
"@betorigami/game-ui-wheel": "1.2.0"
|
|
34
33
|
},
|
|
35
34
|
"devDependencies": {
|
|
36
35
|
"@playwright/test": "^1.53.0",
|