src/game.js: Calculate consensus by vote.