@betorigami/games 1.12.6 → 1.13.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.
Files changed (3) hide show
  1. package/dist/index.d.ts +524 -3
  2. package/dist/index.mjs +2804 -984
  3. package/package.json +3 -1
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  // Generated by dts-bundle-generator v9.5.1
2
2
 
3
+ import { Color, Column, Dozen, Half, Parity, RouletteType } from '@betorigami/game-calculations';
3
4
  import { ContextProvider } from '@lit/context';
4
5
  import Big$1 from 'big.js';
5
6
  import { CSSResult, LitElement, PropertyValues, TemplateResult } from 'lit';
@@ -30,7 +31,8 @@ declare enum OrigamiGame {
30
31
  DIAMONDS = "DIAMONDS",
31
32
  WHEEL = "WHEEL",
32
33
  PLINKO = "PLINKO",
33
- ADVANCED_DICE = "ADVANCED_DICE"
34
+ ADVANCED_DICE = "ADVANCED_DICE",
35
+ ROULETTE = "ROULETTE"
34
36
  }
35
37
  export type SeasonTheme = "DEFAULT" | "HORRORGAMI" | "JOLLYGAMI";
36
38
  declare const SUPPORTED_EDGE_PERCENTAGES: readonly [
@@ -77,6 +79,7 @@ export declare const translations: {
77
79
  failedToLoadBetData: string;
78
80
  gameError: string;
79
81
  insufficientBalance: string;
82
+ maxPayoutExceeded: string;
80
83
  notEnoughBalance: string;
81
84
  };
82
85
  autobet: {
@@ -285,6 +288,16 @@ export declare const translations: {
285
288
  provablyFair: string;
286
289
  strategyTip: string;
287
290
  };
291
+ roulette: {
292
+ how1: string;
293
+ how2: string;
294
+ how3: string;
295
+ how4: string;
296
+ how5: string;
297
+ overview: string;
298
+ provablyFair: string;
299
+ strategyTip: string;
300
+ };
288
301
  };
289
302
  games: {
290
303
  advancedDice: {
@@ -329,15 +342,26 @@ export declare const translations: {
329
342
  wheel: {
330
343
  segments: string;
331
344
  };
345
+ roulette: {
346
+ chipValue: string;
347
+ totalBetAmount: string;
348
+ };
332
349
  };
333
350
  hotkeys: {
351
+ clearBets: string;
334
352
  doubleBet: string;
353
+ doubleChipValue: string;
354
+ doubleTotalBet: string;
335
355
  halveBet: string;
356
+ halveChipValue: string;
357
+ halveTotalBet: string;
336
358
  higherTarget: string;
337
359
  info: string;
338
360
  lowerTarget: string;
339
361
  makeBet: string;
362
+ resetChipValue: string;
340
363
  toggleWinCondition: string;
364
+ undo: string;
341
365
  zeroBet: string;
342
366
  };
343
367
  modals: {
@@ -362,6 +386,7 @@ export declare const translations: {
362
386
  failedToLoadBetData: string;
363
387
  gameError: string;
364
388
  insufficientBalance: string;
389
+ maxPayoutExceeded: string;
365
390
  notEnoughBalance: string;
366
391
  };
367
392
  autobet: {
@@ -570,6 +595,16 @@ export declare const translations: {
570
595
  provablyFair: string;
571
596
  strategyTip: string;
572
597
  };
598
+ roulette: {
599
+ how1: string;
600
+ how2: string;
601
+ how3: string;
602
+ how4: string;
603
+ how5: string;
604
+ overview: string;
605
+ provablyFair: string;
606
+ strategyTip: string;
607
+ };
573
608
  };
574
609
  games: {
575
610
  advancedDice: {
@@ -614,15 +649,26 @@ export declare const translations: {
614
649
  wheel: {
615
650
  segments: string;
616
651
  };
652
+ roulette: {
653
+ chipValue: string;
654
+ totalBetAmount: string;
655
+ };
617
656
  };
618
657
  hotkeys: {
658
+ clearBets: string;
619
659
  doubleBet: string;
660
+ doubleChipValue: string;
661
+ doubleTotalBet: string;
620
662
  halveBet: string;
663
+ halveChipValue: string;
664
+ halveTotalBet: string;
621
665
  higherTarget: string;
622
666
  info: string;
623
667
  lowerTarget: string;
624
668
  makeBet: string;
669
+ resetChipValue: string;
625
670
  toggleWinCondition: string;
671
+ undo: string;
626
672
  zeroBet: string;
627
673
  };
628
674
  modals: {
@@ -648,6 +694,7 @@ export declare const translations: {
648
694
  gameError: string;
649
695
  insufficientBalance: string;
650
696
  notEnoughBalance: string;
697
+ maxPayoutExceeded: string;
651
698
  };
652
699
  autobet: {
653
700
  configureAutobet: string;
@@ -855,8 +902,22 @@ export declare const translations: {
855
902
  provablyFair: string;
856
903
  strategyTip: string;
857
904
  };
905
+ roulette: {
906
+ how1: string;
907
+ how2: string;
908
+ how3: string;
909
+ how4: string;
910
+ how5: string;
911
+ overview: string;
912
+ provablyFair: string;
913
+ strategyTip: string;
914
+ };
858
915
  };
859
916
  games: {
917
+ roulette: {
918
+ chipValue: string;
919
+ totalBetAmount: string;
920
+ };
860
921
  advancedDice: {
861
922
  between: string;
862
923
  boundsLower: string;
@@ -901,13 +962,20 @@ export declare const translations: {
901
962
  };
902
963
  };
903
964
  hotkeys: {
965
+ clearBets: string;
904
966
  doubleBet: string;
967
+ doubleChipValue: string;
968
+ doubleTotalBet: string;
905
969
  halveBet: string;
970
+ halveChipValue: string;
971
+ halveTotalBet: string;
906
972
  higherTarget: string;
907
973
  info: string;
908
974
  lowerTarget: string;
909
975
  makeBet: string;
976
+ resetChipValue: string;
910
977
  toggleWinCondition: string;
978
+ undo: string;
911
979
  zeroBet: string;
912
980
  };
913
981
  modals: {
@@ -932,6 +1000,7 @@ export declare const translations: {
932
1000
  failedToLoadBetData: string;
933
1001
  gameError: string;
934
1002
  insufficientBalance: string;
1003
+ maxPayoutExceeded: string;
935
1004
  notEnoughBalance: string;
936
1005
  };
937
1006
  autobet: {
@@ -1140,6 +1209,16 @@ export declare const translations: {
1140
1209
  provablyFair: string;
1141
1210
  strategyTip: string;
1142
1211
  };
1212
+ roulette: {
1213
+ how1: string;
1214
+ how2: string;
1215
+ how3: string;
1216
+ how4: string;
1217
+ how5: string;
1218
+ overview: string;
1219
+ provablyFair: string;
1220
+ strategyTip: string;
1221
+ };
1143
1222
  };
1144
1223
  games: {
1145
1224
  advancedDice: {
@@ -1184,15 +1263,26 @@ export declare const translations: {
1184
1263
  wheel: {
1185
1264
  segments: string;
1186
1265
  };
1266
+ roulette: {
1267
+ chipValue: string;
1268
+ totalBetAmount: string;
1269
+ };
1187
1270
  };
1188
1271
  hotkeys: {
1272
+ clearBets: string;
1189
1273
  doubleBet: string;
1274
+ doubleChipValue: string;
1275
+ doubleTotalBet: string;
1190
1276
  halveBet: string;
1277
+ halveChipValue: string;
1278
+ halveTotalBet: string;
1191
1279
  higherTarget: string;
1192
1280
  info: string;
1193
1281
  lowerTarget: string;
1194
1282
  makeBet: string;
1283
+ resetChipValue: string;
1195
1284
  toggleWinCondition: string;
1285
+ undo: string;
1196
1286
  zeroBet: string;
1197
1287
  };
1198
1288
  modals: {
@@ -1217,6 +1307,7 @@ export declare const translations: {
1217
1307
  failedToLoadBetData: string;
1218
1308
  gameError: string;
1219
1309
  insufficientBalance: string;
1310
+ maxPayoutExceeded: string;
1220
1311
  notEnoughBalance: string;
1221
1312
  };
1222
1313
  autobet: {
@@ -1425,6 +1516,16 @@ export declare const translations: {
1425
1516
  provablyFair: string;
1426
1517
  strategyTip: string;
1427
1518
  };
1519
+ roulette: {
1520
+ how1: string;
1521
+ how2: string;
1522
+ how3: string;
1523
+ how4: string;
1524
+ how5: string;
1525
+ overview: string;
1526
+ provablyFair: string;
1527
+ strategyTip: string;
1528
+ };
1428
1529
  };
1429
1530
  games: {
1430
1531
  advancedDice: {
@@ -1469,15 +1570,26 @@ export declare const translations: {
1469
1570
  wheel: {
1470
1571
  segments: string;
1471
1572
  };
1573
+ roulette: {
1574
+ chipValue: string;
1575
+ totalBetAmount: string;
1576
+ };
1472
1577
  };
1473
1578
  hotkeys: {
1579
+ clearBets: string;
1474
1580
  doubleBet: string;
1581
+ doubleChipValue: string;
1582
+ doubleTotalBet: string;
1475
1583
  halveBet: string;
1584
+ halveChipValue: string;
1585
+ halveTotalBet: string;
1476
1586
  higherTarget: string;
1477
1587
  info: string;
1478
1588
  lowerTarget: string;
1479
1589
  makeBet: string;
1590
+ resetChipValue: string;
1480
1591
  toggleWinCondition: string;
1592
+ undo: string;
1481
1593
  zeroBet: string;
1482
1594
  };
1483
1595
  modals: {
@@ -1502,6 +1614,7 @@ export declare const translations: {
1502
1614
  failedToLoadBetData: string;
1503
1615
  gameError: string;
1504
1616
  insufficientBalance: string;
1617
+ maxPayoutExceeded: string;
1505
1618
  notEnoughBalance: string;
1506
1619
  };
1507
1620
  autobet: {
@@ -1710,6 +1823,16 @@ export declare const translations: {
1710
1823
  provablyFair: string;
1711
1824
  strategyTip: string;
1712
1825
  };
1826
+ roulette: {
1827
+ how1: string;
1828
+ how2: string;
1829
+ how3: string;
1830
+ how4: string;
1831
+ how5: string;
1832
+ overview: string;
1833
+ provablyFair: string;
1834
+ strategyTip: string;
1835
+ };
1713
1836
  };
1714
1837
  games: {
1715
1838
  advancedDice: {
@@ -1754,15 +1877,26 @@ export declare const translations: {
1754
1877
  wheel: {
1755
1878
  segments: string;
1756
1879
  };
1880
+ roulette: {
1881
+ chipValue: string;
1882
+ totalBetAmount: string;
1883
+ };
1757
1884
  };
1758
1885
  hotkeys: {
1886
+ clearBets: string;
1759
1887
  doubleBet: string;
1888
+ doubleChipValue: string;
1889
+ doubleTotalBet: string;
1760
1890
  halveBet: string;
1891
+ halveChipValue: string;
1892
+ halveTotalBet: string;
1761
1893
  higherTarget: string;
1762
1894
  info: string;
1763
1895
  lowerTarget: string;
1764
1896
  makeBet: string;
1897
+ resetChipValue: string;
1765
1898
  toggleWinCondition: string;
1899
+ undo: string;
1766
1900
  zeroBet: string;
1767
1901
  };
1768
1902
  modals: {
@@ -1787,6 +1921,7 @@ export declare const translations: {
1787
1921
  failedToLoadBetData: string;
1788
1922
  gameError: string;
1789
1923
  insufficientBalance: string;
1924
+ maxPayoutExceeded: string;
1790
1925
  notEnoughBalance: string;
1791
1926
  };
1792
1927
  autobet: {
@@ -1995,6 +2130,16 @@ export declare const translations: {
1995
2130
  provablyFair: string;
1996
2131
  strategyTip: string;
1997
2132
  };
2133
+ roulette: {
2134
+ how1: string;
2135
+ how2: string;
2136
+ how3: string;
2137
+ how4: string;
2138
+ how5: string;
2139
+ overview: string;
2140
+ provablyFair: string;
2141
+ strategyTip: string;
2142
+ };
1998
2143
  };
1999
2144
  games: {
2000
2145
  advancedDice: {
@@ -2039,15 +2184,26 @@ export declare const translations: {
2039
2184
  wheel: {
2040
2185
  segments: string;
2041
2186
  };
2187
+ roulette: {
2188
+ chipValue: string;
2189
+ totalBetAmount: string;
2190
+ };
2042
2191
  };
2043
2192
  hotkeys: {
2193
+ clearBets: string;
2044
2194
  doubleBet: string;
2195
+ doubleChipValue: string;
2196
+ doubleTotalBet: string;
2045
2197
  halveBet: string;
2198
+ halveChipValue: string;
2199
+ halveTotalBet: string;
2046
2200
  higherTarget: string;
2047
2201
  info: string;
2048
2202
  lowerTarget: string;
2049
2203
  makeBet: string;
2204
+ resetChipValue: string;
2050
2205
  toggleWinCondition: string;
2206
+ undo: string;
2051
2207
  zeroBet: string;
2052
2208
  };
2053
2209
  modals: {
@@ -2072,6 +2228,7 @@ export declare const translations: {
2072
2228
  failedToLoadBetData: string;
2073
2229
  gameError: string;
2074
2230
  insufficientBalance: string;
2231
+ maxPayoutExceeded: string;
2075
2232
  notEnoughBalance: string;
2076
2233
  };
2077
2234
  autobet: {
@@ -2280,6 +2437,16 @@ export declare const translations: {
2280
2437
  provablyFair: string;
2281
2438
  strategyTip: string;
2282
2439
  };
2440
+ roulette: {
2441
+ how1: string;
2442
+ how2: string;
2443
+ how3: string;
2444
+ how4: string;
2445
+ how5: string;
2446
+ overview: string;
2447
+ provablyFair: string;
2448
+ strategyTip: string;
2449
+ };
2283
2450
  };
2284
2451
  games: {
2285
2452
  advancedDice: {
@@ -2324,15 +2491,26 @@ export declare const translations: {
2324
2491
  wheel: {
2325
2492
  segments: string;
2326
2493
  };
2494
+ roulette: {
2495
+ chipValue: string;
2496
+ totalBetAmount: string;
2497
+ };
2327
2498
  };
2328
2499
  hotkeys: {
2500
+ clearBets: string;
2329
2501
  doubleBet: string;
2502
+ doubleChipValue: string;
2503
+ doubleTotalBet: string;
2330
2504
  halveBet: string;
2505
+ halveChipValue: string;
2506
+ halveTotalBet: string;
2331
2507
  higherTarget: string;
2332
2508
  info: string;
2333
2509
  lowerTarget: string;
2334
2510
  makeBet: string;
2511
+ resetChipValue: string;
2335
2512
  toggleWinCondition: string;
2513
+ undo: string;
2336
2514
  zeroBet: string;
2337
2515
  };
2338
2516
  modals: {
@@ -2357,6 +2535,7 @@ export declare const translations: {
2357
2535
  failedToLoadBetData: string;
2358
2536
  gameError: string;
2359
2537
  insufficientBalance: string;
2538
+ maxPayoutExceeded: string;
2360
2539
  notEnoughBalance: string;
2361
2540
  };
2362
2541
  autobet: {
@@ -2565,6 +2744,16 @@ export declare const translations: {
2565
2744
  provablyFair: string;
2566
2745
  strategyTip: string;
2567
2746
  };
2747
+ roulette: {
2748
+ how1: string;
2749
+ how2: string;
2750
+ how3: string;
2751
+ how4: string;
2752
+ how5: string;
2753
+ overview: string;
2754
+ provablyFair: string;
2755
+ strategyTip: string;
2756
+ };
2568
2757
  };
2569
2758
  games: {
2570
2759
  advancedDice: {
@@ -2609,15 +2798,26 @@ export declare const translations: {
2609
2798
  wheel: {
2610
2799
  segments: string;
2611
2800
  };
2801
+ roulette: {
2802
+ chipValue: string;
2803
+ totalBetAmount: string;
2804
+ };
2612
2805
  };
2613
2806
  hotkeys: {
2807
+ clearBets: string;
2614
2808
  doubleBet: string;
2809
+ doubleChipValue: string;
2810
+ doubleTotalBet: string;
2615
2811
  halveBet: string;
2812
+ halveChipValue: string;
2813
+ halveTotalBet: string;
2616
2814
  higherTarget: string;
2617
2815
  info: string;
2618
2816
  lowerTarget: string;
2619
2817
  makeBet: string;
2818
+ resetChipValue: string;
2620
2819
  toggleWinCondition: string;
2820
+ undo: string;
2621
2821
  zeroBet: string;
2622
2822
  };
2623
2823
  modals: {
@@ -2642,6 +2842,7 @@ export declare const translations: {
2642
2842
  failedToLoadBetData: string;
2643
2843
  gameError: string;
2644
2844
  insufficientBalance: string;
2845
+ maxPayoutExceeded: string;
2645
2846
  notEnoughBalance: string;
2646
2847
  };
2647
2848
  autobet: {
@@ -2850,6 +3051,16 @@ export declare const translations: {
2850
3051
  provablyFair: string;
2851
3052
  strategyTip: string;
2852
3053
  };
3054
+ roulette: {
3055
+ how1: string;
3056
+ how2: string;
3057
+ how3: string;
3058
+ how4: string;
3059
+ how5: string;
3060
+ overview: string;
3061
+ provablyFair: string;
3062
+ strategyTip: string;
3063
+ };
2853
3064
  };
2854
3065
  games: {
2855
3066
  advancedDice: {
@@ -2894,15 +3105,26 @@ export declare const translations: {
2894
3105
  wheel: {
2895
3106
  segments: string;
2896
3107
  };
3108
+ roulette: {
3109
+ chipValue: string;
3110
+ totalBetAmount: string;
3111
+ };
2897
3112
  };
2898
3113
  hotkeys: {
3114
+ clearBets: string;
2899
3115
  doubleBet: string;
3116
+ doubleChipValue: string;
3117
+ doubleTotalBet: string;
2900
3118
  halveBet: string;
3119
+ halveChipValue: string;
3120
+ halveTotalBet: string;
2901
3121
  higherTarget: string;
2902
3122
  info: string;
2903
3123
  lowerTarget: string;
2904
3124
  makeBet: string;
3125
+ resetChipValue: string;
2905
3126
  toggleWinCondition: string;
3127
+ undo: string;
2906
3128
  zeroBet: string;
2907
3129
  };
2908
3130
  modals: {
@@ -2927,6 +3149,7 @@ export declare const translations: {
2927
3149
  failedToLoadBetData: string;
2928
3150
  gameError: string;
2929
3151
  insufficientBalance: string;
3152
+ maxPayoutExceeded: string;
2930
3153
  notEnoughBalance: string;
2931
3154
  };
2932
3155
  autobet: {
@@ -3135,6 +3358,16 @@ export declare const translations: {
3135
3358
  provablyFair: string;
3136
3359
  strategyTip: string;
3137
3360
  };
3361
+ roulette: {
3362
+ how1: string;
3363
+ how2: string;
3364
+ how3: string;
3365
+ how4: string;
3366
+ how5: string;
3367
+ overview: string;
3368
+ provablyFair: string;
3369
+ strategyTip: string;
3370
+ };
3138
3371
  };
3139
3372
  games: {
3140
3373
  advancedDice: {
@@ -3179,15 +3412,26 @@ export declare const translations: {
3179
3412
  wheel: {
3180
3413
  segments: string;
3181
3414
  };
3415
+ roulette: {
3416
+ chipValue: string;
3417
+ totalBetAmount: string;
3418
+ };
3182
3419
  };
3183
3420
  hotkeys: {
3421
+ clearBets: string;
3184
3422
  doubleBet: string;
3423
+ doubleChipValue: string;
3424
+ doubleTotalBet: string;
3185
3425
  halveBet: string;
3426
+ halveChipValue: string;
3427
+ halveTotalBet: string;
3186
3428
  higherTarget: string;
3187
3429
  info: string;
3188
3430
  lowerTarget: string;
3189
3431
  makeBet: string;
3432
+ resetChipValue: string;
3190
3433
  toggleWinCondition: string;
3434
+ undo: string;
3191
3435
  zeroBet: string;
3192
3436
  };
3193
3437
  modals: {
@@ -3212,6 +3456,7 @@ export declare const translations: {
3212
3456
  failedToLoadBetData: string;
3213
3457
  gameError: string;
3214
3458
  insufficientBalance: string;
3459
+ maxPayoutExceeded: string;
3215
3460
  notEnoughBalance: string;
3216
3461
  };
3217
3462
  autobet: {
@@ -3420,6 +3665,16 @@ export declare const translations: {
3420
3665
  provablyFair: string;
3421
3666
  strategyTip: string;
3422
3667
  };
3668
+ roulette: {
3669
+ how1: string;
3670
+ how2: string;
3671
+ how3: string;
3672
+ how4: string;
3673
+ how5: string;
3674
+ overview: string;
3675
+ provablyFair: string;
3676
+ strategyTip: string;
3677
+ };
3423
3678
  };
3424
3679
  games: {
3425
3680
  advancedDice: {
@@ -3464,15 +3719,26 @@ export declare const translations: {
3464
3719
  wheel: {
3465
3720
  segments: string;
3466
3721
  };
3722
+ roulette: {
3723
+ chipValue: string;
3724
+ totalBetAmount: string;
3725
+ };
3467
3726
  };
3468
3727
  hotkeys: {
3728
+ clearBets: string;
3469
3729
  doubleBet: string;
3730
+ doubleChipValue: string;
3731
+ doubleTotalBet: string;
3470
3732
  halveBet: string;
3733
+ halveChipValue: string;
3734
+ halveTotalBet: string;
3471
3735
  higherTarget: string;
3472
3736
  info: string;
3473
3737
  lowerTarget: string;
3474
3738
  makeBet: string;
3739
+ resetChipValue: string;
3475
3740
  toggleWinCondition: string;
3741
+ undo: string;
3476
3742
  zeroBet: string;
3477
3743
  };
3478
3744
  modals: {
@@ -3497,6 +3763,7 @@ export declare const translations: {
3497
3763
  failedToLoadBetData: string;
3498
3764
  gameError: string;
3499
3765
  insufficientBalance: string;
3766
+ maxPayoutExceeded: string;
3500
3767
  notEnoughBalance: string;
3501
3768
  };
3502
3769
  autobet: {
@@ -3705,6 +3972,16 @@ export declare const translations: {
3705
3972
  provablyFair: string;
3706
3973
  strategyTip: string;
3707
3974
  };
3975
+ roulette: {
3976
+ how1: string;
3977
+ how2: string;
3978
+ how3: string;
3979
+ how4: string;
3980
+ how5: string;
3981
+ overview: string;
3982
+ provablyFair: string;
3983
+ strategyTip: string;
3984
+ };
3708
3985
  };
3709
3986
  games: {
3710
3987
  advancedDice: {
@@ -3749,15 +4026,26 @@ export declare const translations: {
3749
4026
  wheel: {
3750
4027
  segments: string;
3751
4028
  };
4029
+ roulette: {
4030
+ chipValue: string;
4031
+ totalBetAmount: string;
4032
+ };
3752
4033
  };
3753
4034
  hotkeys: {
4035
+ clearBets: string;
3754
4036
  doubleBet: string;
4037
+ doubleChipValue: string;
4038
+ doubleTotalBet: string;
3755
4039
  halveBet: string;
4040
+ halveChipValue: string;
4041
+ halveTotalBet: string;
3756
4042
  higherTarget: string;
3757
4043
  info: string;
3758
4044
  lowerTarget: string;
3759
4045
  makeBet: string;
4046
+ resetChipValue: string;
3760
4047
  toggleWinCondition: string;
4048
+ undo: string;
3761
4049
  zeroBet: string;
3762
4050
  };
3763
4051
  modals: {
@@ -3782,6 +4070,7 @@ export declare const translations: {
3782
4070
  failedToLoadBetData: string;
3783
4071
  gameError: string;
3784
4072
  insufficientBalance: string;
4073
+ maxPayoutExceeded: string;
3785
4074
  notEnoughBalance: string;
3786
4075
  };
3787
4076
  autobet: {
@@ -3990,6 +4279,16 @@ export declare const translations: {
3990
4279
  provablyFair: string;
3991
4280
  strategyTip: string;
3992
4281
  };
4282
+ roulette: {
4283
+ how1: string;
4284
+ how2: string;
4285
+ how3: string;
4286
+ how4: string;
4287
+ how5: string;
4288
+ overview: string;
4289
+ provablyFair: string;
4290
+ strategyTip: string;
4291
+ };
3993
4292
  };
3994
4293
  games: {
3995
4294
  advancedDice: {
@@ -4034,15 +4333,26 @@ export declare const translations: {
4034
4333
  wheel: {
4035
4334
  segments: string;
4036
4335
  };
4336
+ roulette: {
4337
+ chipValue: string;
4338
+ totalBetAmount: string;
4339
+ };
4037
4340
  };
4038
4341
  hotkeys: {
4342
+ clearBets: string;
4039
4343
  doubleBet: string;
4344
+ doubleChipValue: string;
4345
+ doubleTotalBet: string;
4040
4346
  halveBet: string;
4347
+ halveChipValue: string;
4348
+ halveTotalBet: string;
4041
4349
  higherTarget: string;
4042
4350
  info: string;
4043
4351
  lowerTarget: string;
4044
4352
  makeBet: string;
4353
+ resetChipValue: string;
4045
4354
  toggleWinCondition: string;
4355
+ undo: string;
4046
4356
  zeroBet: string;
4047
4357
  };
4048
4358
  modals: {
@@ -4067,6 +4377,7 @@ export declare const translations: {
4067
4377
  failedToLoadBetData: string;
4068
4378
  gameError: string;
4069
4379
  insufficientBalance: string;
4380
+ maxPayoutExceeded: string;
4070
4381
  notEnoughBalance: string;
4071
4382
  };
4072
4383
  autobet: {
@@ -4275,6 +4586,16 @@ export declare const translations: {
4275
4586
  provablyFair: string;
4276
4587
  strategyTip: string;
4277
4588
  };
4589
+ roulette: {
4590
+ how1: string;
4591
+ how2: string;
4592
+ how3: string;
4593
+ how4: string;
4594
+ how5: string;
4595
+ overview: string;
4596
+ provablyFair: string;
4597
+ strategyTip: string;
4598
+ };
4278
4599
  };
4279
4600
  games: {
4280
4601
  advancedDice: {
@@ -4319,15 +4640,26 @@ export declare const translations: {
4319
4640
  wheel: {
4320
4641
  segments: string;
4321
4642
  };
4643
+ roulette: {
4644
+ chipValue: string;
4645
+ totalBetAmount: string;
4646
+ };
4322
4647
  };
4323
4648
  hotkeys: {
4649
+ clearBets: string;
4324
4650
  doubleBet: string;
4651
+ doubleChipValue: string;
4652
+ doubleTotalBet: string;
4325
4653
  halveBet: string;
4654
+ halveChipValue: string;
4655
+ halveTotalBet: string;
4326
4656
  higherTarget: string;
4327
4657
  info: string;
4328
4658
  lowerTarget: string;
4329
4659
  makeBet: string;
4660
+ resetChipValue: string;
4330
4661
  toggleWinCondition: string;
4662
+ undo: string;
4331
4663
  zeroBet: string;
4332
4664
  };
4333
4665
  modals: {
@@ -4352,6 +4684,7 @@ export declare const translations: {
4352
4684
  failedToLoadBetData: string;
4353
4685
  gameError: string;
4354
4686
  insufficientBalance: string;
4687
+ maxPayoutExceeded: string;
4355
4688
  notEnoughBalance: string;
4356
4689
  };
4357
4690
  autobet: {
@@ -4560,6 +4893,16 @@ export declare const translations: {
4560
4893
  provablyFair: string;
4561
4894
  strategyTip: string;
4562
4895
  };
4896
+ roulette: {
4897
+ how1: string;
4898
+ how2: string;
4899
+ how3: string;
4900
+ how4: string;
4901
+ how5: string;
4902
+ overview: string;
4903
+ provablyFair: string;
4904
+ strategyTip: string;
4905
+ };
4563
4906
  };
4564
4907
  games: {
4565
4908
  advancedDice: {
@@ -4604,15 +4947,26 @@ export declare const translations: {
4604
4947
  wheel: {
4605
4948
  segments: string;
4606
4949
  };
4950
+ roulette: {
4951
+ chipValue: string;
4952
+ totalBetAmount: string;
4953
+ };
4607
4954
  };
4608
4955
  hotkeys: {
4956
+ clearBets: string;
4609
4957
  doubleBet: string;
4958
+ doubleChipValue: string;
4959
+ doubleTotalBet: string;
4610
4960
  halveBet: string;
4961
+ halveChipValue: string;
4962
+ halveTotalBet: string;
4611
4963
  higherTarget: string;
4612
4964
  info: string;
4613
4965
  lowerTarget: string;
4614
4966
  makeBet: string;
4967
+ resetChipValue: string;
4615
4968
  toggleWinCondition: string;
4969
+ undo: string;
4616
4970
  zeroBet: string;
4617
4971
  };
4618
4972
  modals: {
@@ -4746,6 +5100,99 @@ export interface PlinkoStartAction {
4746
5100
  numberOfRows: PlinkoRowCount;
4747
5101
  }
4748
5102
  export type AdvancedDiceStartAction = AdvancedDiceInputs;
5103
+ export interface RouletteStraightBet {
5104
+ amount: string;
5105
+ value: number;
5106
+ }
5107
+ export interface RouletteSplitBet {
5108
+ amount: string;
5109
+ values: readonly [
5110
+ number,
5111
+ number
5112
+ ];
5113
+ }
5114
+ export interface RouletteStreetBet {
5115
+ amount: string;
5116
+ values: readonly [
5117
+ number,
5118
+ number,
5119
+ number
5120
+ ];
5121
+ }
5122
+ export interface RouletteCornerBet {
5123
+ amount: string;
5124
+ values: readonly [
5125
+ number,
5126
+ number,
5127
+ number,
5128
+ number
5129
+ ];
5130
+ }
5131
+ export interface RouletteDoubleStreetBet {
5132
+ amount: string;
5133
+ values: readonly [
5134
+ number,
5135
+ number,
5136
+ number,
5137
+ number,
5138
+ number,
5139
+ number
5140
+ ];
5141
+ }
5142
+ export interface RouletteParityBet {
5143
+ amount: string;
5144
+ parity: Parity;
5145
+ }
5146
+ export interface RouletteColorBet {
5147
+ amount: string;
5148
+ color: Color;
5149
+ }
5150
+ export interface RouletteHalfBet {
5151
+ amount: string;
5152
+ half: Half;
5153
+ }
5154
+ export interface RouletteColumnBet {
5155
+ amount: string;
5156
+ column: Column;
5157
+ }
5158
+ export interface RouletteDozenBet {
5159
+ amount: string;
5160
+ dozen: Dozen;
5161
+ }
5162
+ export interface RouletteBasketBet {
5163
+ amount: string;
5164
+ }
5165
+ export interface EuropeanRouletteInputs {
5166
+ straightBets: RouletteStraightBet[];
5167
+ splitBets: RouletteSplitBet[];
5168
+ streetBets: RouletteStreetBet[];
5169
+ cornerBets: RouletteCornerBet[];
5170
+ doubleStreetBets: RouletteDoubleStreetBet[];
5171
+ parityBets: RouletteParityBet[];
5172
+ colorBets: RouletteColorBet[];
5173
+ halfBets: RouletteHalfBet[];
5174
+ columnBets: RouletteColumnBet[];
5175
+ dozenBets: RouletteDozenBet[];
5176
+ }
5177
+ export interface AmericanRouletteInputs extends EuropeanRouletteInputs {
5178
+ basketBets: RouletteBasketBet[];
5179
+ }
5180
+ export type RouletteStartAction = {
5181
+ type: RouletteType.EUROPEAN;
5182
+ inputs: EuropeanRouletteInputs;
5183
+ } | {
5184
+ type: RouletteType.AMERICAN;
5185
+ inputs: AmericanRouletteInputs;
5186
+ };
5187
+ export interface RouletteBetOutcomes {
5188
+ winningBets: EuropeanRouletteInputs;
5189
+ losingBets: EuropeanRouletteInputs;
5190
+ }
5191
+ export interface RouletteEndAction {
5192
+ type: "european" | "american";
5193
+ betOutcomes: RouletteBetOutcomes;
5194
+ result: number[];
5195
+ }
4749
5196
  export interface Action {
4750
5197
  id: string;
4751
5198
  data: {
@@ -4757,6 +5204,7 @@ export interface Action {
4757
5204
  WHEEL?: WheelStartAction | EndAction;
4758
5205
  PLINKO?: PlinkoStartAction | EndAction;
4759
5206
  ADVANCED_DICE?: AdvancedDiceStartAction | EndAction;
5207
+ ROULETTE?: RouletteStartAction | RouletteEndAction;
4760
5208
  };
4761
5209
  betAmount: string | null;
4762
5210
  payoutAmount: string | null;
@@ -4832,7 +5280,7 @@ declare class HistoryController extends EventTarget {
4832
5280
  loadClientSeed(): Promise<void>;
4833
5281
  updateClientSeed(newSeed: string): void;
4834
5282
  }
4835
- export type BaseSound = "bet" | "christmas-win" | "click" | "dice-roll" | "dice-tick" | "half-double" | "horrorgami-mines-bomb" | "horrorgami-mines-tile-click" | "horrorgami-win" | "keno-clear" | "keno-gem" | "limbo-tick" | "mines-bomb" | "mines-gem" | "plinko-drop" | "secondary" | "toggle" | "win";
5283
+ export type BaseSound = "bet" | "christmas-win" | "click" | "dice-roll" | "dice-tick" | "half-double" | "horrorgami-mines-bomb" | "horrorgami-mines-tile-click" | "horrorgami-win" | "keno-clear" | "keno-gem" | "limbo-tick" | "mines-bomb" | "mines-gem" | "plinko-drop" | "roulette-bouncing" | "roulette-spinning" | "secondary" | "toggle" | "win";
4836
5284
  interface GameHost$2 {
4837
5285
  gameData: gameContextType;
4838
5286
  addController(controller: any): void;
@@ -4844,7 +5292,7 @@ declare class SoundController {
4844
5292
  private buffer;
4845
5293
  private spriteMap;
4846
5294
  constructor(host: GameHost$2);
4847
- play(soundKey: BaseSound, muted?: boolean, pitch?: number, volume?: number, onEndCallback?: () => void): Promise<AudioBufferSourceNode | void>;
5295
+ play(soundKey: BaseSound, muted?: boolean, pitch?: number, volume?: number, onEndCallback?: () => void, loop?: boolean): Promise<AudioBufferSourceNode | void>;
4848
5296
  }
4849
5297
  export type gameContextType = {
4850
5298
  betAmount: string;
@@ -5039,6 +5487,7 @@ declare abstract class GameComponent extends OrigamiElement {
5039
5487
  protected autobetStopping: boolean;
5040
5488
  static soundsToPreload: string[];
5041
5489
  static styles: import("lit").CSSResult[];
5490
+ protected onBetAmountChange: (_oldBetAmount: string, _newBetAmount: string) => void;
5042
5491
  private gameConsumer;
5043
5492
  get gameData(): gameContextType;
5044
5493
  get isDemoMode(): boolean;
@@ -5655,5 +6104,77 @@ export declare class AdvancedDiceGame extends GameComponent {
5655
6104
  private handleBoundsInputValidityChange;
5656
6105
  render(): import("lit-html").TemplateResult<1>;
5657
6106
  }
6107
+ export type RouletteStartArgs = {
6108
+ currency: Currency;
6109
+ language: Language;
6110
+ };
6111
+ declare class RouletteApi {
6112
+ private authToken;
6113
+ private baseUrl;
6114
+ constructor(authToken: string, baseUrl: string);
6115
+ startBet(data: RouletteStartArgs & {
6116
+ gameInputs: RouletteStartAction;
6117
+ }): Promise<StartBetResponse>;
6118
+ }
6119
+ declare class MockRouletteApi {
6120
+ startBet(data: RouletteStartArgs & {
6121
+ gameInputs: RouletteStartAction;
6122
+ }): Promise<{
6123
+ success: true;
6124
+ data: BetResult;
6125
+ }>;
6126
+ }
6127
+ export declare class RouletteGame extends GameComponent {
6128
+ static styles: import("lit").CSSResult[];
6129
+ private isManualPlaying;
6130
+ private betResult;
6131
+ private history;
6132
+ private perClickAmount;
6133
+ private hitNumber;
6134
+ private showMobileOverlay;
6135
+ private displayedHitNumber;
6136
+ private lastResultNumber;
6137
+ private showWinPopup;
6138
+ private newBalance;
6139
+ private chipEvents;
6140
+ private ballLandResolver;
6141
+ private _manualEl?;
6142
+ private _autoEl?;
6143
+ constructor();
6144
+ get rouletteType(): RouletteType;
6145
+ get maxPerClickAmount(): string;
6146
+ private adjustPerClickAmount;
6147
+ /**
6148
+ * Derive the current chip state from events.
6149
+ */
6150
+ get derivedChips(): Map<string, number>;
6151
+ get rouletteApi(): RouletteApi | MockRouletteApi;
6152
+ get isToggleDisabled(): boolean;
6153
+ get areInputsDisabled(): boolean;
6154
+ get canUndo(): boolean;
6155
+ get canClear(): boolean;
6156
+ get totalBetAmount(): number;
6157
+ get maxAllowedAmount(): number;
6158
+ protected onBetAmountChange: (oldBetAmount: string, newBetAmount: string) => void;
6159
+ get isDoubleDisabled(): boolean;
6160
+ get maxPossiblePayout(): number;
6161
+ watchDerivedChips(): void;
6162
+ private addChip;
6163
+ private handlePerClickAmountChange;
6164
+ private isMaxPayoutExceeded;
6165
+ private handleGridClick;
6166
+ private handleUndo;
6167
+ private handleClear;
6168
+ private handleAdjustTotalBet;
6169
+ private addToHistory;
6170
+ private extractHitNumberFromActions;
6171
+ private applyBetResult;
6172
+ private waitForAutobetDisplay;
6173
+ private handleBetExecution;
6174
+ private handleBallLand;
6175
+ roulettePlay(): Promise<void>;
6176
+ protected executeAutobet(_autobetSettings: AutobetSettings, _currentBetAmount: string): Promise<GameBetResult>;
6177
+ render(): import("lit-html").TemplateResult<1>;
6178
+ }
5658
6179
 
5659
6180
  export {};