```ruby
solution = 1 + rand(1000)
guesses = []
puts solution # This statement is temporary while I test the game.
puts "Guess what number I'm thinking of. It's between 1 and 1000"
guess = gets.to_i
puts "Wrong! Guess again!" if guess != solution
while guess != solution
    guesses.push(guess)
    puts "You've guessed #{guesses}" # Temporary, to be replaced by prompt comparing guesses.
    guess = gets.to_i
end 
    puts "You got it!"```

Add if loop for warmer and cooler
user
```ruby
solution = 1 + rand(1000)
guesses = []
puts solution # This statement is temporary while I test the game.
puts "Guess what number I'm thinking of. It's between 1 and 1000"
guess = gets.to_i
guesses.push(guess)
puts "Wrong! Guess again!" if guess != solution
while guess != solution
    guess = gets.to_i
    guesses.push(guess)
    if guesses[-1] - solution < guesses[-2] - solution
        puts "Warmer."
    elsif guesses[-1] - solution > guesses[-2] - solution
        puts "Cooler."
    else
        puts "Luke warm."
    end
    puts "You've guessed #{guesses}" # Temporary, to be replaced by prompt comparing guesses.
    
end 
    puts "You got it!"```
assistant