class BingoBoard
def initialize(board)
@bingo_board = board
end
def number_letter
@letter = ['B','I','N','G','O'].sample
@number = rand(1..100)
end
def checker
number_letter
@bingo_board.each do |n|
index = n.index(@number)
n[index] = 'X' unless index.nil?
end
end
end