I am a newbie in Ruby. I want to learn Ruby and I want to learn clear code in Ruby. I coded a number guessing game but my code is smelling bad. How I can do better code?

```
class NumberGuess
  attr_accessor :num_of_guess, :random_num, :name

  def initialize(random_num, num_of_guess, name)
    @name = name
    @random_num = random_num
    @num_of_guess = num_of_guess
  end

  def start
    while num_of_guess < 10
      puts ""
      puts "1 ile 100 arasında sayı tut"
      guess_number = gets.to_i
      @num_of_guess += 1
      guesses_left = (10 - @num_of_guess)

      if random_num > guess_number
        puts "#{@name}, Tahminin tutulan sayıdan daha düşük. Kalan hakkin #{guesses_left} "
      elsif guess_number > random_num
        puts "#{@name}, Tahminin tutulan sayıdan daha büyük. Kalan hakkin #{guesses_left} "
      end
      break if guess_number == random_num
    end

    if guess_number == random_num
      puts "Tebrikler #{@name}! #{num_of_guess} denemede bildin"
    else
      puts "Üzgünüm #{@name}! Cevap: #{random_num} "
    end
  end

end

puts ("Merhaba,Ismini ogrenebilir miyim?")
name = gets.chomp.capitalize
game = NumberGuess.new(rand(100), 0, name)
game.start

```