pokie
Version:
A server-side video slot game logic framework for JavaScript and TypeScript.
30 lines • 894 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.LinesDefinitionsFor5x3 = void 0;
class LinesDefinitionsFor5x3 {
constructor() {
this.definitions = {
0: [1, 1, 1, 1, 1],
1: [0, 0, 0, 0, 0],
2: [2, 2, 2, 2, 2],
3: [0, 1, 2, 1, 0],
4: [2, 1, 0, 1, 2],
5: [0, 0, 1, 0, 0],
6: [2, 2, 1, 2, 2],
7: [1, 1, 0, 1, 1],
8: [1, 1, 2, 1, 1],
9: [0, 1, 1, 1, 0],
10: [2, 1, 1, 1, 2],
11: [0, 1, 0, 1, 0],
12: [2, 1, 2, 1, 2],
};
}
getLineDefinition(lineId) {
return this.definitions[lineId];
}
getLinesIds() {
return Object.keys(this.definitions);
}
}
exports.LinesDefinitionsFor5x3 = LinesDefinitionsFor5x3;
//# sourceMappingURL=LinesDefinitionsFor5x3.js.map