Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Constructor: Akari(int, int, string)

  • Declared in: PuzzleSolvers.Akari

Declaration

public Akari(
    int width,
    int height,
    string description
)

Summary

Instantiates an Akari puzzle based on a character-based description provided as a string.

Parameters

intwidth Width of the Akari puzzle.
intheight Height of the Akari puzzle.
stringdescription A string of characters in which a period (.) represents a vacant cell, a hash (#) represents a block, and a digit (0 through 9) represents a block with a constraint on the number of lightbulbs orthogonally adjacent to the block.