splittingred / kag-gather

Gather IRC bot in Ruby
2 stars 1 forks source link

Improvement for server voting. (see comment) #63

Open Cpa3y opened 11 years ago

Cpa3y commented 11 years ago

Make vote that give poing to servers, then server with max point will be chosen. Vote will give following points: Vote for eu: 1 + a for EU server, 1 for US server, 0 for AUS Vote for us: 1 for EU, 1 + a for US and 1 for AUS Vote for aus: 0 for eu, 1 for US, 1 + a for AUS

I think it will help to make more balanced matches. Example: If a = 0.5 and there is 4 players in queue with vote for eu and 6 for AUS, then points for servers will be: EU - 6, US - 10, AUS - 9. US server wins. if there is only 2 players in queue with vote for eu and 8 for UAS, points will be: EU - 3, US - 10, AUS -12. AUS server wins.

As you can see modyfing variable a allows to adjust geographic balance for teams.