- Declared in: PuzzleSolvers.Akari
Declaration
public Akari(
int width,
int height,
bool[] isBlock,
int?[] clues
)
Summary
Instantiates an Akari puzzle.
Parameters
int | width |
Width of the Akari puzzle. |
int | height |
Height of the Akari puzzle. |
bool[] | isBlock |
Determines which cells are blocks — cells that block the line-of-sight of lightbulbs. |
int?[] | clues |
Determines which cells are clues. A clue determines the number of lightbulbs orthogonally adjacent to the
cell. A clued cell must also be a block (isBlock must be true at this index). |