Giter VIP home page Giter VIP logo

diplomacy-leaderboard's Introduction

πŸ—ΊοΈ 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.