Reference · Number-puzzle engines
noCluesfunction
Create empty visibility clues on all four sides of a square grid.
Import it
import { noClues } from "@johnmorrisdotca/kazu";
Definition
function noClues(size: number): TowerClues
Parameters
| Name | Type | Description |
|---|---|---|
size | number | The supported square grid side length. |
Returns
TowerClues
Create empty visibility clues on all four sides of a square grid.
Examples
import { noClues } from "@johnmorrisdotca/kazu";
console.log(noClues(4));{
top: [ 0, 0, 0, 0 ],
bottom: [ 0, 0, 0, 0 ],
left: [ 0, 0, 0, 0 ],
right: [ 0, 0, 0, 0 ]
}What it prints (run when this page was built)