Module: SudokuBuilder
- Extended by:
- SudokuBuilder
- Included in:
- SudokuBuilder
- Defined in:
- lib/sudoku_builder.rb,
lib/sudoku_builder/solver.rb,
lib/sudoku_builder/sudoku.rb,
lib/sudoku_builder/builder.rb,
lib/sudoku_builder/version.rb
Defined Under Namespace
Classes: Builder, Solver, Sudoku
Constant Summary collapse
- VERSION =
"0.1.1"
Instance Method Summary collapse
Instance Method Details
#new ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/sudoku_builder.rb', line 8 def new sudoku = { } q = 0 81.times do sudoku[q] = [] q += 1 end Solver.new(sudoku).solve end |