Reference · Rules, tiles and records
MixTiletype
One kind of tile in a set: the code the game deals, what is printed on it, what shows in its corner, and how many the set holds.
Import it
import type { MixTile } from "@johnmorrisdotca/kumimoji";
Definition
type MixTile = {
code: string;
glyph: string;
forms: string;
count: number;
};
Members
| Name | Type | Description |
|---|---|---|
code | string | |
glyph | string | |
forms | string | |
count | number |
Examples
import type { MixTile } from "@johnmorrisdotca/kumimoji";
const value: MixTile = {code:"c",glyph:"c",forms:"",count:2};
console.log(value);{ code: 'c', glyph: 'c', forms: '', count: 2 }What it prints (run when this page was built)