Twisttype
A quarter turn of one quadrant, which ends a move in the twist games.
Import it
import type { Twist } from "@johnmorrisdotca/narabe";
Definition
type Twist = {
quadrant: number;
clockwise: boolean;
};
Members
| Name | Type | Description |
|---|---|---|
quadrant | number | |
clockwise | boolean |
Examples
import type { Twist } from "@johnmorrisdotca/narabe";
const value: Twist = {quadrant:0,clockwise:true};
console.log(value);{ quadrant: 0, clockwise: true }What it prints (run when this page was built)