this is a bad stv implementation
25개 이상의 토픽을 선택하실 수 없습니다. 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 년 전
index.js this is still a bad thing 3 년 전
readme.md Update 'readme.md' 3 년 전

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