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