Reference · Pipes, rules and solving
sizeTermOffunction
How big a board is for scoring, 0 to 1: the pieces its answer uses, on a log scale from BIG_PIECES_SMALLEST to BIG_PIECES_LARGEST.
Import it
import { sizeTermOf } from "@johnmorrisdotca/suido";
Definition
function sizeTermOf(used: number): number
Parameters
| Name | Type | Description |
|---|---|---|
used | number | The number of pieces used in the solved board. |
Returns
number
How big a board is for scoring, 0 to 1: the pieces its answer uses, on a log scale from BIG_PIECES_SMALLEST to BIG_PIECES_LARGEST.
Examples
import { sizeTermOf } from "@johnmorrisdotca/suido";
console.log(sizeTermOf(100));0.5What it prints (run when this page was built)