scrabble-solver
Version:
Scrabble Solver 2 - Free, open-source, cross-platform, multi-language analysis tool for Scrabble, Scrabble Duel, Super Scrabble, Letter League, Crossplay, Literaki, and Kelimelik. Quickly find the top-scoring words using the given board and tiles.
8 lines (7 loc) • 318 B
TypeScript
import { type Board, type Cell, type Config, type Pattern } from '@scrabble-solver/types';
export declare const generatePattern: <P extends Pattern>({ board, cells, config, PatternModel, }: {
board: Board;
cells: Cell[];
config: Config;
PatternModel: new (board: Board, cells: Cell[]) => P;
}) => P[];