A comprehensive AI-powered esports analytics platform that integrates with GRID API to deliver real-time Cloud9 team insights, player performance tracking, and strategic analysis.
- Live Cloud9 Data: Real player statistics, match history, and team performance
- Automatic Caching: Smart data caching for offline access and improved performance
- Seamless Fallback: Gracefully handles API unavailability with cached or demo data
- Player Performance Tracking: Individual KDA, win rates, and games played
- Match History Analysis: Recent Cloud9 matches with detailed statistics
- AI-Powered Insights: GPT-4 powered match analysis and strategic recommendations
- Live Match Tracking: Real-time KDA updates and objective monitoring
- Strategic Impact Dashboard: Connect individual mistakes to team outcomes
- Data Import: Upload custom player rosters via CSV or JSON files through AI Chat
The app is pre-configured and ready to run in your Spark environment.
For real Cloud9 esports data:
-
Get Your API Key
- Apply for GRID API access through the hackathon resources
- Wait for approval and receive your API key
-
Connect to GRID
- Open the application
- Click "Configure API" on the GRID API Integration card
- Enter your API key
- Click "Connect"
-
Start Analyzing
- The app will automatically fetch Cloud9 roster and match data
- Data refreshes every 5 minutes
- Use "Refresh Data" to manually update
Dashboard Tab
- View team overview statistics
- Generate AI insights for specific matches
- Browse player roster with real-time stats
Live Tab
- Track ongoing matches with real-time updates
- Monitor KDA changes as they happen
- View objective control and gold differential
Insights Tab
- Review AI-generated pattern analysis
- Identify recurring mistakes and their impact
- Get actionable coaching recommendations
Players Tab
- Deep-dive into individual player analytics
- Compare performance against team averages
- Track improvement trends over time
Strategic Tab
- Analyze mistake categories and their strategic impact
- Correlate micro-level errors with macro outcomes
- Understand objective loss patterns
AI Chat Support
- Ask questions about platform features
- Get help with data interpretation
- Upload CSV or JSON files to import custom data
- View file format guide and examples
Upload your own player roster data via the AI Chat interface:
- Click the chat icon in the bottom-right corner
- Click the upload button (๐) in the chat toolbar
- Select your file - CSV or JSON format (max 10MB)
- Automatic import - System parses and adds data instantly
Supported Formats:
- CSV: Player roster with headers (id, name, role, title, kda, winRate, gamesPlayed)
- JSON: Single entity (player array) or multi-entity (players, teams, matches, tournaments)
Sample Files: See sample-players.csv, sample-players.json, and sample-multi-entity.json
Full Guide: DATA_UPLOAD_GUIDE.md
- Framework: React 19 + TypeScript
- Styling: Tailwind CSS 4 + shadcn/ui
- Data: GRID API GraphQL + Spark KV Storage
- AI: GPT-4 via Spark LLM API
- Animation: Framer Motion
- Icons: Phosphor Icons
src/
โโโ lib/
โ โโโ gridApi.ts # GRID API client & queries
โ โโโ types.ts # TypeScript interfaces
โ โโโ mockData.ts # Fallback demo data
โโโ hooks/
โ โโโ use-grid-data.ts # Data fetching & caching
โ โโโ use-live-match.ts # Live match tracking
โโโ components/
โ โโโ GridApiSetup.tsx # API configuration UI
โ โโโ DataSourceIndicator.tsx
โ โโโ LiveMatchTracker.tsx
โ โโโ PlayerCard.tsx
โ โโโ ...
โโโ App.tsx # Main application
- Data Upload Guide: CSV/JSON file upload instructions
- GRID Integration Guide: Detailed API setup and usage
- PRD.md: Product requirements and design decisions
The application works fully without a GRID API key using demonstration data:
- Sample Cloud9 roster
- Mock match history
- Simulated live matches
- All UI features functional
This allows you to:
- Test all functionality
- Understand the interface
- Demonstrate features
- Develop without API access
- API keys stored locally in browser
- No third-party data transmission
- All API calls use HTTPS
- Disconnect anytime to clear credentials
No data loading?
- Check your internet connection
- Verify API key is correct
- Try manual "Refresh Data"
- Check browser console for errors
Stale data?
- Click "Refresh Data" button
- Clear cache and reconnect
- Check GRID API status
API key not working?
- Ensure key is valid and not expired
- Check for extra spaces when pasting
- Verify hackathon API access is approved
- Define data types in
src/lib/types.ts - Create GraphQL queries in
src/lib/gridApi.ts - Build UI components in
src/components/ - Integrate with hooks for state management
- Use mock data for development
- Test with and without API connection
- Verify graceful error handling
- Check responsive design on mobile
The Spark Template files and resources from GitHub are licensed under the terms of the MIT license, Copyright GitHub, Inc.
Built for the Cloud9 x JetBrains Hackathon as a comprehensive Assistant Coach powered by Data Science and AI, inspired by Moneyball's analytical approach to competitive esports.