alxwrd / diplomacy-leaderboard

A leaderboard for our diplomacy games at work

Home Page:https://alxwrd.github.io/diplomacy-leaderboard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🗺️ Diplomacy Leaderboard

A static page leaderboard for our diplomacy games at work. Built using tailwindcss, hosted via github pages.

View it here.

Currently you need to manually add the scores because backstabbr doesn't have an API. I might add a data.json file to update the page with javascript, but games take about 2 months to play out so manually updating the scores like a pleb won't be too much work.

Scoring 🔗

  • Every player receives thier center count (but not more than 18).

  • Then, bonus points for a win or draw as follows:

Condition Points
Win 100 points
2 Way draw 48 points each (96 points total)
3 Way draw 31 points each (93 points total)
4 Way draw 22 points each (88 points total)
5 Way draw 17 points each (85 points total)
6 Way draw 13 points each (78 points total)
7 Way draw 7 points for players who can't eliminate anybody.
  • Finally, these scores are adjusted for country played as follows:
Country Modifier
Italy + 2 points
Austria + 1 point
Russia No change
Germany No change
Turkey - 1 point
England - 2 points
France - 2 points

Build

npm install --only=dev
npm run build

About

A leaderboard for our diplomacy games at work

https://alxwrd.github.io/diplomacy-leaderboard

License:MIT License


Languages

Language:HTML 72.1%Language:JavaScript 27.9%