this is a bad stv implementation
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
akraak 86509d7db2 Update 'readme.md' 3 vuotta sitten
index.js this is still a bad thing 3 vuotta sitten
readme.md Update 'readme.md' 3 vuotta sitten

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