Class: Doku::Hexamurai
Overview
This class represents the Hexamurai, a puzzle that consists of five Hexadoku puzzles superimposed on eachother. The Hexamurai puzzle appeared in the July/August issue of Elektor magazine. Each instance of this class represents a particular arrangement of numbers (glyphs) written in the boxes.
The template for this puzzle is:
puzzle = Doku::Hexamurai.new <<END
|........|........|
|........|........|
|........|........|
|........|........|
|........|........|
|........|........|
|........|........|
|........|........|
--------+--------+--------+--------
........|........|........|........
........|........|........|........
........|........|........|........
........|........|........|........
........|........|........|........
........|........|........|........
........|........|........|........
........|........|........|........
--------+--------+--------+--------
........|........|........|........
........|........|........|........
........|........|........|........
........|........|........|........
........|........|........|........
........|........|........|........
........|........|........|........
........|........|........|........
--------+--------+--------+--------
|........|........|
|........|........|
|........|........|
|........|........|
|........|........|
|........|........|
|........|........|
|........|........|
END
Constant Summary
Constants included from PuzzleOnGrid
Instance Attribute Summary
Attributes included from PuzzleOnGrid::ClassMethods
Attributes inherited from Puzzle
Method Summary
Methods included from PuzzleOnGrid::ClassMethods
column, coordinates_in_grid_string, glyph_char, glyph_parse, row, square_group, squares_matching
Methods included from PuzzleOnGrid
#get, #initialize, #set, #to_grid_string, #to_s
Methods inherited from Puzzle
#==, #[], #[]=, #each, #eql?, #filled?, #glyphs, #groups, #hash, #initialize, #solution?, #solution_for?, #squares, #subset?, #valid?
Methods included from SolvableWithDancingLinks
#each_solution, #exact_cover_to_solution, #solutions, #solve, #to_link_matrix