Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

Who Really Won? Voting Methods and Game Theory

· in Learning

Cover picture: Who Really Won? Voting Methods and Game Theory

The same ballots can elect three different winners, and the smartest move can leave everyone worse off. Try both ideas with two free labs.

Group decisions look simple: everyone votes and the most popular choice wins. But how you count the votes can change the winner, and the choices people make can trap them in a result nobody wanted. Two new labs on Play n Tools let you see both for yourself.

One set of ballots, three winners

A classic textbook example asks voters in four cities where their state capital should go. Each voter ranks the cities, preferring places close to home:

  • 42 % rank Memphis first, then Nashville, Chattanooga, Knoxville
  • 26 % rank Nashville first, then Chattanooga, Knoxville, Memphis
  • 15 % rank Chattanooga first, then Knoxville, Nashville, Memphis
  • 17 % rank Knoxville first, then Chattanooga, Nashville, Memphis

Count only first choices and Memphis wins with 42 %. Use instant runoff, where the last-placed city drops out round by round, and Knoxville wins. Give points for every place (the Borda count) and Nashville wins. Nashville also beats every other city one on one, so it is the Condorcet winner.

Nobody cheated. Each method simply measures something different. In the Voting systems lab you can load this example, count it ten ways and step through every round.

The Spoiler test tab removes one losing option at a time. If the winner changes, that loser was a spoiler.

When the clever move backfires

Game theory studies decisions where your result depends on what others do. The most famous example is the prisoner's dilemma. Two players each choose to cooperate or defect:

  • both cooperate: 3 points each
  • both defect: 1 point each
  • one defects: the defector gets 5, the other 0

Whatever the other player does, defecting earns you more. So both defect and get 1 point each, when cooperating would have given them 3. The Game theory lab finds this result, called a Nash equilibrium, for any table of payoffs you type, up to five choices each.

Play it again and nice wins

Things change when the same players meet again and again. In the 1980s, Robert Axelrod ran tournaments of computer strategies. A very simple one, tit for tat, did remarkably well: cooperate first, then copy whatever the other player did last time.

The lab's Dilemma tournament lets you run your own. Pick strategies, add a few mistakes, and watch the evolution chart, where strategies that score well grow in the population. With mistakes switched on, forgiving strategies often pull ahead.

Ideas to try

  • Make up a class vote with ballots that rank snacks or trip ideas, and see whether all ten methods agree.
  • Load the Centre squeeze example and see how a compromise option can be knocked out early.
  • In the hawk and dove game, set the cost of a fight above the prize and see what mix of fighters and sharers the population settles on.

Both labs, and the other decision tools beside this post, run in your browser and keep nothing you type.

Tags:

All blog posts

See you tomorrow!

A fresh daily puzzle every morning, and new tools added every month.

Browse every product