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.
22 lines (21 loc) • 537 B
TypeScript
import { type CellJson } from './CellJson';
import { Tile } from './Tile';
export declare class Cell {
static fromJson: (json: CellJson) => Cell;
readonly isEmpty: boolean;
tile: Tile;
readonly x: number;
readonly y: number;
constructor({ isEmpty, tile, x, y }: {
isEmpty?: boolean;
tile?: Tile;
x: number;
y: number;
});
clone(): Cell;
equals(other: Cell): boolean;
hasTile(): boolean;
isCandidate(): boolean;
toJson(): CellJson;
toString(): string;
}