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.

4 lines (3 loc) 138 B
export const inverseDirection = (direction: 'left' | 'right'): 'left' | 'right' => { return direction === 'left' ? 'right' : 'left'; };