Sha256: c0121435cee3755b86a0d66ceea44f19d4c1f94edb107523e971c4d2004cf49c
Contents?: true
Size: 513 Bytes
Versions: 2
Compression:
Stored size: 513 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), 'sudoku_builder/sudoku')) require File.expand_path(File.join(File.dirname(__FILE__), 'sudoku_builder/builder')) require File.expand_path(File.join(File.dirname(__FILE__), 'sudoku_builder/solver' )) require File.expand_path(File.join(File.dirname(__FILE__), 'sudoku_builder/version')) module SudokuBuilder extend self def new sudoku = { } q = 0 81.times do sudoku[q] = [] q += 1 end Solver.new(sudoku).solve end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sudoku_builder-0.1.1 | lib/sudoku_builder.rb |
sudoku_builder-0.1.0 | lib/sudoku_builder.rb |