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.

22 lines (18 loc) 426 B
import { Board } from '@scrabble-solver/types'; import { boardInitialState } from './boardInitialState'; export interface SolveState { error: unknown; isLoading: boolean; lastSolvedParameters: { board: Board; characters: string[]; }; } export const solveInitialState: SolveState = { error: undefined, isLoading: false, lastSolvedParameters: { board: boardInitialState, characters: [], }, };