UNPKG

pokie

Version:

A server-side video slot game logic framework for JavaScript and TypeScript.

28 lines 762 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LinesDefinitionsFor3x3 = void 0; class LinesDefinitionsFor3x3 { constructor() { this.definitions = { 0: [1, 1, 1], 1: [0, 0, 0], 2: [2, 2, 2], 3: [0, 1, 2], 4: [2, 1, 0], 5: [0, 1, 0], 6: [2, 1, 2], 7: [1, 0, 1], 8: [1, 2, 1], 9: [0, 2, 0], 10: [2, 0, 2], }; } getLineDefinition(lineId) { return this.definitions[lineId]; } getLinesIds() { return Object.keys(this.definitions); } } exports.LinesDefinitionsFor3x3 = LinesDefinitionsFor3x3; //# sourceMappingURL=LinesDefinitionsFor3x3.js.map