Commits

Author Commit Message Labels Comments Date
shl...@27f4d2be-69b7-b1af-7dc8-71755b09f50e
Add the analyze L-shaped corners - now the first board can be solved.
shl...@27f4d2be-69b7-b1af-7dc8-71755b09f50e
Add the expand_white_regions method to the list of operations in the GUI.
shl...@27f4d2be-69b7-b1af-7dc8-71755b09f50e
Change from "DoubleClicked" to "Clicked". This way one can just click the items to select them.
shl...@27f4d2be-69b7-b1af-7dc8-71755b09f50e
More tests.
shl...@27f4d2be-69b7-b1af-7dc8-71755b09f50e
Extract is_yx_col() from more places
shl...@27f4d2be-69b7-b1af-7dc8-71755b09f50e
Extract is_yx_col() from more places
shl...@27f4d2be-69b7-b1af-7dc8-71755b09f50e
Extract is_yx_col from another place
shl...@27f4d2be-69b7-b1af-7dc8-71755b09f50e
Implement the expand_white_regions method (with tests). This method expands the white regions to the only unknown cell where they can be expanded to.
shl...@27f4d2be-69b7-b1af-7dc8-71755b09f50e
Add a test for an unknown cell
shl...@27f4d2be-69b7-b1af-7dc8-71755b09f50e
Add a test for the wrong cell.
shl...@27f4d2be-69b7-b1af-7dc8-71755b09f50e
Add more tests
shl...@27f4d2be-69b7-b1af-7dc8-71755b09f50e
Add another test
shl...@27f4d2be-69b7-b1af-7dc8-71755b09f50e
Extract a method to verify a region.
shl...@27f4d2be-69b7-b1af-7dc8-71755b09f50e
Extract a closure from the analye-white-regions test.
shl...@27f4d2be-69b7-b1af-7dc8-71755b09f50e
Add another test
shl...@27f4d2be-69b7-b1af-7dc8-71755b09f50e
Add a test for white regions.
shl...@27f4d2be-69b7-b1af-7dc8-71755b09f50e
Fixed the GUI.
shl...@27f4d2be-69b7-b1af-7dc8-71755b09f50e
Add the adjacent black.
shl...@27f4d2be-69b7-b1af-7dc8-71755b09f50e
Changed the regions to an object instead of a hash of whites.
shl...@27f4d2be-69b7-b1af-7dc8-71755b09f50e
Convert HitoriSolver to a class/namespace.
shl...@27f4d2be-69b7-b1af-7dc8-71755b09f50e
Extract the _find_regions_for_coords(yx) method.
shl...@27f4d2be-69b7-b1af-7dc8-71755b09f50e
Extract a _find_adjacent_regions method.
shl...@27f4d2be-69b7-b1af-7dc8-71755b09f50e
Add board to the OffsetsList loop abstraction.
shl...@27f4d2be-69b7-b1af-7dc8-71755b09f50e
Extract the Offsets abstraction.
shl...@27f4d2be-69b7-b1af-7dc8-71755b09f50e
Extract Cell::is_white() from two places.
shl...@27f4d2be-69b7-b1af-7dc8-71755b09f50e
Extract loop_over_whites.
shl...@27f4d2be-69b7-b1af-7dc8-71755b09f50e
Extract the coords_loop method from @board.
shl...@27f4d2be-69b7-b1af-7dc8-71755b09f50e
Add the WhiteRegions class to keep track of white regions. With a test.
shl...@27f4d2be-69b7-b1af-7dc8-71755b09f50e
Add more tests to the from-colour initialisation.
shl...@27f4d2be-69b7-b1af-7dc8-71755b09f50e
Now we can initialise intermediate states from colours. TODO : add more tests.
  1. Prev
  2. Next