Reference · Pipes, rules and solving
laySuidofunction
A board laid out and turned at random, with no promise about how many answers
it has: the raw material makeSuido shapes. Its solution is one answer.
Import it
import { laySuido } from "@johnmorrisdotca/suido";
Definition
function laySuido(options?: MakeOptions): Made
Parameters
| Name | Type | Description |
|---|---|---|
options (optional) | MakeOptions | Drawing, mounting or generator choices specified by the signature. |
Returns
Made
A board laid out and turned at random, with no promise about how many answers it has: the raw material makeSuido shapes. Its solution is one answer.
Examples
import { SUIDO_5X5 } from "@johnmorrisdotca/suido/levels-5x5";
import { laySuido } from "@johnmorrisdotca/suido";
const row = SUIDO_5X5[0];
const code = row[0];
console.log(laySuido({size:5,seed:42}).code);