class BoardInfo
  attr_reader :memory, :player_board

  def initialize
    @memory = Array.new(9, ' ')
    (1..9).each do |i|
      @memory[i - 1] = i
    end
    @player_board = Array.new(9, ' ')
    (1..9).each do |i|
      @player_board[i - 1] = ' '
    end
  end

  def board_reset
    (1..9).each do |i|
      @memory[i - 1] = i
      @player_board[i - 1] = ' '
    end
  end
end
