elikem
3/14/2014 - 10:00 PM

create a board with all the cells you need

create a board with all the cells you need

class Board
  attr_reader :all_cells

  def initialize
    @all_cells = []
    (0..99).each do |x|
      (0..99).each do |y|
        @all_cells << Cell.new(x, y)
      end
    end
  end
end