Reference · Rules, tiles and records
CrossingFittype
A word's place: its first square, and the squares it lays a new tile on, in the word's order.
Import it
import type { CrossingFit } from "@johnmorrisdotca/kumimoji";
Definition
type CrossingFit = {
first: Square;
fresh: Square[];
};
Members
| Name | Type | Description |
|---|---|---|
first | Square | |
fresh | Square[] |
Examples
import type { CrossingFit } from "@johnmorrisdotca/kumimoji";
const value: CrossingFit = {first:{row:0,col:0},fresh:[{row:0,col:1},{row:0,col:2}]};
console.log(value);{
first: { row: 0, col: 0 },
fresh: [ { row: 0, col: 1 }, { row: 0, col: 2 } ]
}What it prints (run when this page was built)