Developing an Elo Based, Data-Driven Rating System for 2v2 Multiplayer Games

Lazare Kolebka6 Sep 2023

Problem

Classic Elo was built for chess: two players, one binary result. In a 2v2 game each player is helped or hurt by a teammate, and the scale of a win (11:0 or 11:10) carries information that a win/loss flag throws away. A bachelor thesis author needed a fair, live ranking for an office foosball group, so that weak players are not punished for playing with strong ones and newcomers are placed quickly.

Example from the article: in a foosball game with four players of different ratings, the pair P1 and P2 has a 22.0% chance of beating P3 and P4, although P1 alone would have only 14.6%.

Solution in brief

Each player's expected score is the average of the Elo expected scores against the two opponents, with the rating divisor raised from 400 to 500. The rating update is multiplied by a K-value that shrinks with games played and by a point factor that grows with the score margin. A small web app on PostgreSQL stores and serves the ratings.

Questions this case answers
  • How to compute and update a skill rating for individuals who compete in teams, when the outcome is a score margin rather than a binary result
  • How to keep a rating stable for experienced participants while letting new participants converge quickly
  • How to rate players of a team game when classic Elo handles only one-on-one matches?
  • How to make a rating move less for experienced players and more for newcomers?

Tools and methods

  • Team Elo — expected score per player against both opponents, averaged per team
  • Games-played K-value — large steps for newcomers, small for veterans
  • Point factor — larger update for a bigger score margin
  • PostgreSQL — players, teams, matches and rating history
  • Flask and Plotly — web app for game entry, odds and charts
Continue reading — it's free

Google or a one-time email code. No password.