@slot-engine/core 0.1.6 → 0.1.7
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.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2872,6 +2872,7 @@ var LinesWinType = class extends WinType {
|
|
|
2872
2872
|
let baseSymbol;
|
|
2873
2873
|
const potentialWinLine = [];
|
|
2874
2874
|
const potentialWildLine = [];
|
|
2875
|
+
let isInterrupted = false;
|
|
2875
2876
|
for (const [ridx, reel] of reels.entries()) {
|
|
2876
2877
|
const sidx = line[ridx];
|
|
2877
2878
|
const thisSymbol = reel[sidx];
|
|
@@ -2898,6 +2899,9 @@ var LinesWinType = class extends WinType {
|
|
|
2898
2899
|
}
|
|
2899
2900
|
if (baseSymbol.compare(thisSymbol) || this.isWild(thisSymbol)) {
|
|
2900
2901
|
potentialWinLine.push({ reel: ridx, row: sidx, symbol: thisSymbol });
|
|
2902
|
+
} else {
|
|
2903
|
+
isInterrupted = true;
|
|
2904
|
+
break;
|
|
2901
2905
|
}
|
|
2902
2906
|
}
|
|
2903
2907
|
const minSymLine = Math.min(
|