Reference · Rules, solvers and generation
Challengetype
A challenge a board can have. Blocked cells count as walls: both are places a line cannot go. Explosions break a drawn line every so many strokes; portals send a line in at one ring and out of another; a hexagon gives every cell six neighbours; a stroke limit counts the lifts; a sparse board has few, long lines.
Import it
import type { Challenge } from "@johnmorrisdotca/tsunagi";
Definition
type Challenge = "bridges" | "walls" | "waypoints" | "wrap" | "portals" | "explosions" | "strokes" | "hexagon" | "sparse";
Examples
import type { Challenge } from "@johnmorrisdotca/tsunagi";
const value: Challenge = "portals";
console.log(value);portalsWhat it prints (run when this page was built)