UNPKG

scrabble-solver

Version:

Scrabble Solver 2 - Free, open-source, cross-platform, multi-language analysis tool for Scrabble, Scrabble Duel, Super Scrabble, Letter League, Literaki, and Kelimelik. Quickly find the top-scoring words using the given board and tiles.

7 lines (6 loc) 415 B
import { Trie } from '@kamilmielnik/trie'; import { Config, Pattern, Tile } from '@scrabble-solver/types'; export declare const fillPattern: (trie: Trie, config: Config, pattern: Pattern, tiles: Tile[]) => Pattern[]; export declare const fillPatternRecursive: ( /** gets mutated when this function is called */ results: Pattern[], trie: Trie, config: Config, pattern: Pattern, word: string, tiles: Tile[]) => void;