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.

10 lines (5 loc) 286 B
import { Rack } from 'types'; import { localStorage } from '../localStorage'; export type RackState = Rack; export const rackDefaultState: RackState = [null, null, null, null, null, null, null]; export const rackInitialState: RackState = localStorage.getRack() || rackDefaultState;