Skip to content

Instantly share code, notes, and snippets.

View vickean's full-sized avatar

Victor Kean vickean

  • Petaling Jaya, Selangor, Malaysia
View GitHub Profile
require 'Benchmark'
class Sudoku
attr_accessor :puzzle
def initialize
@puzzle = ''
@game = Array.new(9)
@game.map! { Array.new(9) }
9.times do |i|