Code Monkey home page Code Monkey logo

aoe2-de-rating-charts's Introduction

Age of Empires 2: Definitive Edition Rating Charts

Live at: https://ratings.aoe2.se/

Random Map: https://ratings.aoe2.se Empire Wars: https://ratings.aoe2.se/empire-wars DEFUNCT: Deathmatch: https://ratings.aoe2.se/deathmatch

Stats are updated automatically, every day via github actions.

Moved from: https://github.com/thbrown/aoe2-de-rating-charts

Tech

Development

npm install npm run dev

Deployment

Generate static site

npm run build && npm run export

The static site is exported to /docs.

After that, you can see the production static app using a webserver.

For example:

  1. Install serve globally, you only need to do this once npm install -g serve
  2. Navigate the the site's root directory cd ./docs
  3. Serve the site serve -p 3000
  4. Visit localhost:3000 in your browser

Github Pages

The site is currently deployed using github pages on a custom domain.

If you attempt to use github pages without a custom domain, the page will be stuck on the loading screen and you'll see a bunch of 404 errors in the web console. To fix this you need to edit 'env-config.js' and 'next.config.js' to tell the app where it can find its assets.

For Example: next.config.js replace assetPrefix: !debug ? "" : "" with "process.env.BACKEND_URL": prod ? "/aoe2-de-rating-charts" : "" env-config.js replace assetPrefix: !debug ? "" : "" with assetPrefix: !debug ? "/aoe2-de-rating-charts" : ""

If you want to use a different custom domain, instead of modifying the cname file in the /docs directory, you'll need to update the cname script in 'package.json' as github action builds are invoked after every push and the docs folder, which contains the built site, is overridden.

aoe2-de-rating-charts's People

Contributors

dependabot[bot] avatar falseteef avatar hszemi avatar paulirish avatar thbrown avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

aoe2-de-rating-charts's Issues

Change scaling of x axis to 2700 ?

Hi there,

first of all: Thank you for providing this! Secondly: I think the value of the information could be increased of the scaling for 1v1 is changed to something to like 2700 ? Or 3000 ? Currently it is the same like team games with 4800 something...

Empire Wars ratings?

Would be great to see an empire wars rating chart (especially EV 1v1 vs RM 1v1 rating)
It's on aoe2.net so it shouldn't be too complicated.

rating over time

Hey there,

I love this project. Would love even more to contribute. Any effort underway to chart rating changes over time ? Are those data available?

New graph: the 1v1/team correlation over time

Hello,

Sorry for sending this kind of "please add this feature to your free service", but I had an simple idea for the ratings.aoe2. Some time ago update was added that should fix the inflation of the Team Random Map elo rating over time. (see the patch notes here: https://www.ageofempires.com/news/rankedtg-update-5-2021/ ). However I started to wonder, how long does it take for the changes to take effect? The team rating is still inflated as 1000 1v1 -> 1500 team. The idea:

  1. Fit a correlation line (roughly y = 1,5x at the moment)
  2. Derivate = 1,5
  3. Plot the derivative over time

This way we could see over time if the correlation is slowly getting closer to y = 1*x or not.

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.