Reference · Rules, generation and deductions
Movetype
A reveal, mark-cycle, or numbered-cell chord applied to a game.
Import it
import type { Move } from "@johnmorrisdotca/jirai";
Definition
type Move = {
kind: "reveal" | "mark" | "chord";
cell: number;
};
Members
| Name | Type | Description |
|---|---|---|
kind | "mark" | "reveal" | "chord" | |
cell | number |
Examples
import type { Move } from "@johnmorrisdotca/jirai";
const value: Move = {kind:"reveal",cell:0};
console.log(value);{ kind: 'reveal', cell: 0 }What it prints (run when this page was built)