Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alxwrd/diplomacy-leaderboard
A leaderboard for our diplomacy games at work
https://github.com/alxwrd/diplomacy-leaderboard
diplomacy diplomacy-game tailwindcss
Last synced: 5 days ago
JSON representation
A leaderboard for our diplomacy games at work
- Host: GitHub
- URL: https://github.com/alxwrd/diplomacy-leaderboard
- Owner: alxwrd
- License: mit
- Created: 2019-06-08T08:55:29.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-05T08:42:39.000Z (over 4 years ago)
- Last Synced: 2024-11-07T21:47:15.296Z (about 2 months ago)
- Topics: diplomacy, diplomacy-game, tailwindcss
- Language: HTML
- Homepage: https://alxwrd.github.io/diplomacy-leaderboard
- Size: 562 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# :world_map: Diplomacy Leaderboard
_A static page leaderboard for our diplomacy games at work. Built using
[tailwindcss](https://tailwindcss.com/), hosted via
[github pages](https://pages.github.com/)._View it [here](https://alxwrd.github.io/diplomacy-leaderboard).
Currently you need to manually add the scores because [backstabbr](https://www.backstabbr.com/)
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 [:link:](http://www.diplomacy-archive.com/resources/ftf/fred_townsend.htm)
- 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
```