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 ac7906a910 Add '' 4 years ago
index.js this is still a bad thing 4 years ago Add '' 4 years ago

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