GithubHelp home page GithubHelp logo

bcs's Introduction


Cwstats Logo

GommeHDnet bedwars stats tracker

AboutKey FeaturesApis

About

Sadly GommeHDnet never wrote a nice page displaying various clan war stats even though they should have the data to do this easily. Since they don't have an API and did not want to provide me with one I had to write an own API parsing their html.

The system is old, I would have done a lot different nowadays. Nonetheless 525 clans with roughly 3000 players signed up. On launch day BCS had up to 400 users but it quickly dropped to ~80 daily active users which makes it my most used project so far.

Due to a bad database layout as well as bad queries loading a clan now takes very long. I also dropped developement of BCS in May 2020. I am planning to let it run unsupervised until August of 2021.

Key Features

The idea of BCS was to give the user as much information as possible and the demand shows that it succeeded. BCS displays a variety of different stats including:

  • Clanstats - detailed information for one (registered) clan
    • Overall
      • How many games did they play?
      • Whats their winrate?
      • Total playtime, last activity
    • Enemies - How often did a clan face an enemy? How often did they win and loose?
    • Map stats - What's the winrate on each map and how often did they play on it?
    • Member stats - How did each member perform? What's their KD? How many beds did they destroy?
    • Lineup stats - Shows which groups of 4 players perform the best
  • Playerstats - detailed information on a single player
    • Resume - Which clans did they join in the past? How did the player perform there?
    • Current stats
      • Winrate, KD, played games
      • Current ranking relative to all other BCS players

Apis

GommeHDnet never supported BCS - at least they tolerated it but this still meant that I had to find out how their system works in order to find enpoints I could parse to get useful information. BCS uses two different APIs. The first API is the one parsing information from GommeHDnet. This API has its own repo and can be found here

The second API is used to query the stored and proccessed data from the BCS backend. I encourage everybody to use it since it sends some great information taht could also be used in 3rd party software like plugins. Here is a short list of each endpoint:



cwstats.de  ·  Twitter @JKamue_dev  ·  Twitter @BetterCWBWStats

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.