# Blue Balls Game - Full Stack SvelteKit Application
A competitive Flappy Bird-style game with authentication, leaderboards, real-time chat, affiliate system, and premium subscriptions.
🎮 Features
- Three difficulty modes (Easy, Medium, Hard) with different multipliers
- Lives system with tier-based regeneration
- Dual progression - Lifetime levels + 30-day rank tiers
- Regional & global leaderboards
- Real-time global chat with rate limiting
- Friends system with invitations
- Affiliate program (10% commission)
- Stripe subscriptions ($2/mo Mid, $10/mo Big)
- PWA support for app installation
- Dark/Light theme
🚀 Quick Start
# Install dependencies
npm install
# Set up environment variables
cp .env.example .env
# Edit .env with your Supabase and Stripe keys
# Run database migrations
# Copy supabase-schema.sql to your Supabase SQL Editor and execute
# Start development server
npm run dev
📚 Documentation
🛠️ Tech Stack
- SvelteKit + TypeScript
- Supabase (PostgreSQL + Auth + Realtime)
- Stripe
- Tailwind CSS
- Cloudflare Pages
📝 Admin Access
Access admin panel at /bolengadmin (requires admin flag in database)