I built it to explore Elixir and Phoenix in a way that relates to my passion for RTS games.
The app is pulling data from another Age Of Empires IV API and tranforming it in ways to yield stastical data that is not available elsewhere. The player data relates to the 1v1 ladder performance in the game. The app is hosted on Fly.io.
- The Map Win Rate section aggregates stasistics for each map, civilization and league bracket to surface granular balance data.
- The Rating section shows 5, 10 and 20 game moving average rating information.
- The Game Length section shows the player's win rates in different game length brackets which is significant due to how the game is played over time (progressing from Feudal to Castle to Imperial age). Early gameplay is more micromanagement oriented and conversely late-game is more about macro.
- The Opponents section is geographical represenation of the origin of the player's opponents.
- The Insights section throws the entire payload of player data at ChatGPT with a custom prompt to extract patterns pertaning to the player's performance.
BeastyQt is a famous ex-Stacraft 2 and current Age of Empires IV professional gamer. You can search for Beasty in the Player Statistic section of the app to see data relevant to him. You can also try one of the other current top ladder players: Valdemar, Fox.Anotand, El.loueMT or Liquid`DeMu for example.
To start your Phoenix server:
- Run
mix setup
to install and setup dependencies - Start Phoenix endpoint with
mix phx.server
or inside IEx withiex -S mix phx.server
Now you can visit localhost:4001
from your browser.