require_relative 'player'

class Villager < Player
  def initialize(game)
    super(game)
    @role = Player::Role::SIMPLE_VILLAGER
  end

  def pick_victim_by_voting
    if cop?
      puts "Cop voted for #{$test}"
      return cop_selects
    else
    return (@game.players.alive - [self]).sample
    end

  end

protected
  def name_prefix
    "Villager_"
  end

end