RebelNonconformist, Ruby
The opposite of The Tag-Along. She just wants to go against convention and picks the side that has been chosen least often so far
if ARGV.length == 0
puts ["good", "evil"].sample
else
all_samples = ARGV[0].gsub(',','')
n_good_samples = all_samples.count('1')
puts n_good_samples > all_samples.length/2 ? "evil" : "good"
end
Run like
ruby rebel.rb