this is a bad stv implementation
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
akraak 86509d7db2 Update 'readme.md' pirms 3 gadiem
index.js this is still a bad thing pirms 3 gadiem
readme.md Update 'readme.md' pirms 3 gadiem

readme.md

sorry its js xx

function(candidates, ballots, seatsToFill)

  • candidates is an array i think of just the candidates
  • ballots is an array of people in order of preference
  • seats to fill is a number probably