## Hipster, Ruby last_round = ARGV[0].split(',').last n_players = last_round.length puts last_round.count('1') > n_players/2 ? 0 : 1 Simply goes with last round's minority, just because everything else is mainstream. Run like ruby hipster.rb