pokie
Version:
A server-side video slot game logic framework for JavaScript and TypeScript.
13 lines (12 loc) • 1.11 kB
TypeScript
import { LinesDefinitionsDescribing, SymbolsSequenceDescribing } from "pokie";
export declare class SymbolsCombinationsAnalyzer {
static getSymbolsForDefinition(symbols: string[][], definition: number[]): string[];
static getSymbolsMatchingPattern(symbols: string[], pattern: number[]): string[];
static isMatchPattern(symbols: string[], pattern: number[], wildSymbols?: string[]): boolean;
static getWinningSymbolId(symbols: string[], pattern: number[], wildSymbols?: string[]): string | null;
static getMatchingPattern(symbols: string[], patterns: number[][], wildSymbols?: string[]): number[] | null;
static getWildSymbolsPositions(symbols: string[], pattern: number[], wildSymbols: string[]): number[];
static getScatterSymbolsPositions(symbols: string[][], scatterSymbolId: string): number[][];
static getWinningLinesIds(symbols: string[][], linesDefinitions: LinesDefinitionsDescribing, patterns: number[][], wildSymbols?: string[]): string[];
static getAllPossibleSymbolsCombinations(sequences: SymbolsSequenceDescribing[], symbolsNumber: number): string[][][];
}