this is begging for a refactoring, possibly a WinnerDeterminer class, with a method that would return the winning_player_number. Thoughts?

```ruby
class Round
  def winner
    WinnerDeterminer.new(player1_move, player2_move).winning_player_number
  end
end

class WinnerDeterminer
  def initialize(player1_move, player2_move)
    @player1_move = player1_move
    @player2_move = player2_move
  end

  def winning_player_number
    if beats?(player1_move, player2_move)
      1
    elsif beats?(player2_move, player1_move)
      2
    else
      0
    end
  end

  private

  def beats?(first, second)
    case first
    when 'rock'
      second == 'scissors'
    when 'paper'
      second == 'rock'
    when 'scissors'
      second == 'paper'
    end
  end
end
```