Roast Your Base - Project Documentation
Overview
Roast Your Base is an AI-powered web application that roasts Clash of Clans players' bases using their player data and optional base layout JSON. The app combines the Clash of Clans API with Google's Gemini AI to deliver savage, entertaining roasts tailored to each player's stats and base design.
Live Demo: roastyourbase.vercel.app / roastyourcocbase.vercel.app
Core Features
1. Player Data Integration
- Fetches comprehensive player statistics using player tags
- Displays key metrics: trophies, war stars, town hall level, clan info
- Real-time data validation and error handling
2. AI-Powered Roasting Engine
- Custom system prompts for Clash of Clans context
- Incorporates player stats and base layout for personalized roasts
- Generates 300-word brutal but entertaining content
3. Base Layout Analysis(Optional)*
- Accepts JSON base layout data from COC's export feature
- Analyzes building placement and defensive strategies
- Provides layout-specific roasting content
4. Social Sharing System
- Multi-platform sharing (Twitter, WhatsApp, Discord, Instagram)