Skip to content

Siddharthk17/Ares-Analytics-League-Of-Legends

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

โš”๏ธ ARES ANALYTICS โš”๏ธ

The God of War for League of Legends Data

๐ŸŽฎ AI-Powered Esports Analytics โ€ข ๐Ÿ“Š Advanced Statistical Modeling โ€ข ๐Ÿ”ฎ Match Prediction Engine

Live Demo React TypeScript Vite Gemini AI


Typing SVG


๐ŸŒŸ "In the arena of data, victory belongs to those who see what others cannot."


๐ŸŽฏ What is Ares Analytics?

Ares Analytics is a cutting-edge, AI-powered League of Legends analytics platform designed for pro teams, analysts, and hardcore enthusiasts who demand more than basic stats. Named after the Greek God of War, this tool brings ruthless analytical precision to esports data.

Upload your match history CSV and watch as Ares transforms raw numbers into actionable intelligence using:

  • Google Gemini AI for natural language insights
  • ๐Ÿ“ˆ Monte Carlo Simulations for probability modeling
  • ๐ŸŽฒ Ensemble Prediction Models (Logistic Regression, Random Forest, Gradient Boosting, Neural Networks)
  • ๐Ÿ“Š Advanced Statistical Analysis (Wilson Score Intervals, Pythagorean Win Rates, Elo Ratings)

โœจ Features That Set Ares Apart

๐Ÿ“Š Advanced Analytics Dashboard

  • Team Performance Metrics โ€” Win rates, KDA, consistency ratings
  • Player Statistics โ€” Individual performance tracking with role analysis
  • Champion Meta Analysis โ€” Pick rates, win rates, class breakdowns
  • Head-to-Head Records โ€” Detailed matchup history
  • Monthly Trend Analysis โ€” Track performance over time

๐Ÿ”ฎ Prediction Lab (Model Lab)

  • Monte Carlo Simulations โ€” 10,000+ simulations for probability distributions
  • Ensemble ML Predictions โ€” 4 models voting for accuracy
  • Scenario Analysis โ€” "What-if" calculations for strategic planning
  • Sensitivity Curves โ€” Understand how variables impact outcomes
  • Feature Importance โ€” See what drives victories

๐Ÿค– AI-Powered Insights

  • Gemini AI Integration โ€” Natural language analysis from a "Ph.D. Statistician"
  • Luck Index Analysis โ€” Identify over/underperforming teams
  • Side Bias Detection โ€” Blue vs Red statistical significance testing
  • Chi-Square Analysis โ€” Validate patterns with p-values

๐Ÿ“ˆ Rich Visualizations

  • Radar Charts โ€” Team attribute comparison (Aggression, Defense, Teamwork)
  • Scatter Plots โ€” Champion pick rate vs win rate analysis
  • Heatmaps โ€” Correlation matrices & head-to-head records
  • Line Charts โ€” Elo rating history & rolling win rates
  • Bar Charts โ€” Champion class performance breakdown

๐Ÿš€ Live Demo

๐Ÿ‘‰ LAUNCH ARES ANALYTICS ๐Ÿ‘ˆ

No installation required โ€” try the demo mode instantly!


๐Ÿ› ๏ธ Tech Stack

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                        ARES TECH ARSENAL                       โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  โš›๏ธ  React 19.2        โ”‚  Modern UI with hooks & state mgmt    โ”‚
โ”‚  ๐Ÿ“˜  TypeScript 5.8    โ”‚  Type-safe development                โ”‚
โ”‚  โšก  Vite 6.2          โ”‚  Lightning-fast builds & HMR          โ”‚
โ”‚  ๐Ÿ“Š  Recharts 3.5      โ”‚  Beautiful, responsive charts         โ”‚
โ”‚  ๐ŸŽจ  Lucide Icons      โ”‚  Sleek iconography                    โ”‚
โ”‚  ๐Ÿค–  Google Gemini AI  โ”‚  Advanced LLM for insights            โ”‚
โ”‚  ๐ŸŒ  Netlify           โ”‚  Blazing-fast deployment              โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ“ฆ Installation & Setup

Prerequisites

  • Node.js (v18+)
  • npm or yarn
  • Gemini API Key (optional, for AI insights)

Quick Start

# Clone the repository
git clone https://github.com/Siddharthk17/Ares-Analytics-League-Of-Legends-. git

# Navigate to directory
cd Ares-Analytics-League-Of-Legends-

# Install dependencies
npm install

# Set up environment variables (optional for AI features)
# Create .env. local and add:
# GEMINI_API_KEY=your_api_key_here

# Start development server
npm run dev

Build for Production

npm run build
npm run preview

๐Ÿ“ Project Structure

Ares-Analytics-League-Of-Legends-/
โ”‚
โ”œโ”€โ”€ ๐Ÿ“„ App.tsx                    # Main application entry point
โ”œโ”€โ”€ ๐Ÿ“„ index.tsx                  # React DOM renderer
โ”œโ”€โ”€ ๐Ÿ“„ types.ts                   # TypeScript type definitions
โ”‚
โ”œโ”€โ”€ ๐Ÿ“ components/
โ”‚   โ”œโ”€โ”€ ChartSection.tsx          # All visualization components
โ”‚   โ”œโ”€โ”€ FileUpload.tsx            # CSV file upload handler
โ”‚   โ”œโ”€โ”€ InsightsPanel.tsx         # AI-generated insights display
โ”‚   โ”œโ”€โ”€ MetricCard.tsx            # KPI metric display cards
โ”‚   โ”œโ”€โ”€ ModelLab.tsx              # Prediction & ML models
โ”‚   โ””โ”€โ”€ PredictorPanel.tsx        # Match prediction interface
โ”‚
โ”œโ”€โ”€ ๐Ÿ“ services/
โ”‚   โ””โ”€โ”€ geminiService.ts          # Google Gemini AI integration
โ”‚
โ”œโ”€โ”€ ๐Ÿ“ utils/
โ”‚   โ”œโ”€โ”€ analytics.ts              # Core statistical computations
โ”‚   โ””โ”€โ”€ csvParser.ts              # CSV parsing utilities
โ”‚
โ”œโ”€โ”€ ๐Ÿ“„ vite.config.ts             # Vite configuration
โ”œโ”€โ”€ ๐Ÿ“„ tsconfig.json              # TypeScript configuration
โ””โ”€โ”€ ๐Ÿ“„ package.json               # Dependencies & scripts

๐Ÿ“Š Data Format

Ares Analytics expects CSV files with the following columns:

Column Description Example
id Unique match identifier match-001
Date Match date 2024-03-15
Tournament Tournament name LCK Spring 2024
Team Team name T1
Opponent Opposing team Gen.G
W/L Win or Loss Win / Loss
Side Map side Blue / Red
Player Player name Faker
Role Player role Mid
Champion Champion played Azir
Opponent Champion Lane opponent's champion Orianna
Kills Kill count 5
Deaths Death count 2
Assists Assist count 10
Duration Game duration 32: 45

๐Ÿงฎ Statistical Methods

Ares Analytics implements professional-grade statistical methods:

Method Purpose
Wilson Score Interval Confidence intervals for win rates (95%)
Pythagorean Win Rate Expected wins based on Kยฒ/(Kยฒ+Dยฒ)
Luck Index Actual WR - Pythagorean WR (over/underperformance)
Elo Rating System Dynamic skill ratings with K-factor = 15
Chi-Square Test Side bias statistical significance
Pearson Correlation Variable relationship analysis
Monte Carlo Simulation 10,000 iteration probability modeling
Coefficient of Variation Consistency/volatility measurement

๐ŸŽฎ Champion Class Mapping

Ares automatically classifies 100+ champions into strategic classes:

๐Ÿ—ก๏ธ Fighter    โ”‚ Aatrox, Renekton, Jax, Fiora, Jayce
๐Ÿ›ก๏ธ Tank       โ”‚ Ornn, Sion, K'Sante, Sejuani, Maokai
๐Ÿ”ฎ Mage       โ”‚ Azir, Orianna, Ahri, Rumble, Syndra
๐Ÿน Marksman   โ”‚ Kai'Sa, Xayah, Varus, Kalista, Zeri
โš”๏ธ Assassin   โ”‚ Akali, Viego, Lee Sin, Sylas
๐Ÿฉน Support    โ”‚ Rakan, Nautilus, Renata, Alistar, Rell

๐Ÿ–ผ๏ธ Screenshots

| Dashboard Overview | Prediction Lab | |: ------------------:|:--------------:| | Upload data and see instant analytics | Run Monte Carlo simulations |

| AI Insights | Team Comparison | |:-----------:|: ---------------:| | Gemini-powered statistical analysis | Radar charts for team attributes |


๐Ÿค Contributing

Contributions are welcome! Feel free to:

  1. ๐Ÿด Fork the repository
  2. ๐ŸŒฟ Create a feature branch (git checkout -b feature/AmazingFeature)
  3. ๐Ÿ’พ Commit changes (git commit -m 'Add AmazingFeature')
  4. ๐Ÿ“ค Push to branch (git push origin feature/AmazingFeature)
  5. ๐Ÿ”ƒ Open a Pull Request

๐Ÿ“œ License

This project is open source and available under the MIT License.


๐Ÿ™ Acknowledgments

  • Riot Games โ€” For creating League of Legends
  • Google โ€” For the Gemini AI API
  • Recharts Team โ€” For beautiful chart components
  • The Esports Community โ€” For inspiring this project

Built with โค๏ธ and โ˜• by Siddharthk17


โญ Star this repo if Ares helped you climb the ladder! โญ


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors