A complete production-ready solution built with Next.js 15, TypeScript, and Firebase. Play Chess and Checkers with real-time multiplayer, AI opponents, and a secure earning + marketing system. Includes a full-featured Admin Panel and advanced marketing tools.
Demo Access
- Regular User
URL: https://sllanka.vip/login
Email: [email protected] Password: demo123 - Admin User
URL: https://sllanka.vip/admin/login
Email: [email protected] Password: admin123 - Main Marketer
URL: https://sllanka.vip/marketing/login
Email: [email protected] Password: 12121212
⚠️ Demo data resets periodically. Some features may be limited for security.
✨ Core Features
- Dual Games: Chess and Checkers in one app
- Multiplayer: Real-time rooms, public/private games, in-game chat
- AI Opponents: Practice with difficulty levels
- User Profiles: Stats, ranks, history, achievements
- Leaderboards: Global ranking system
- Responsive UI: Desktop and mobile
- Customization: Board themes and piece styles
- Friends System: Add friends and start private chats
- Real-Time Chat: In-game + direct messaging
- Game History: Wins, losses, match details
- Responsive Design: Clean modern UI
Finance, Marketing & Bonus Systems
- Multi-Wallet:
- Main Wallet: deposits, withdrawals, wagers
- Marketing Wallet: commissions for marketers
- Transactions: Deposits/withdrawals with pending/approved/rejected states
- Multi-Level Marketing (MLM): 20-level deep referral system with 3% commissions per wager
- Advanced Bonus Engine:
- Signup Bonuses
- Deposit Campaigns
- Task Campaigns (e.g., join a social group)
- Referral Campaigns (users earn when their referrals complete tasks)
⚙️ Admin Panel Features
- Dashboard: Overview of users, games, wagers
- User Management: View/search/manage users, verify, promote to admin
- Financial Approvals: Approve/reject deposits and withdrawals
- Security Tools:
- Duplicate IP detection
- Proxy/VPN detection
- Campaign Creator: Build and manage bonus/referral campaigns
- Game Config: Adjust wager limits, payouts, rules dynamically
- System Settings: Currency, exchange rates, languages
Technical Stack
- Frontend: Next.js 15 (App Router), React, TypeScript
- UI: Tailwind CSS + ShadCN UI
- Backend: Firebase Auth, Firestore, Cloud Functions
- Realtime: Firestore + Realtime Database
- Game Logic: Chess.js + Custom Checkers Engine
- AI Translation: Google AI (Genkit)
What’s Included
- Full TypeScript source code
- Chess + Checkers with multiplayer + AI
- Secure Admin Dashboard & Marketer system
- Docs (setup, database, env)
- Firestore Security Rules
- Mobile-responsive design
⚡ Quick Setup
- Unzip and run
npm install - Create Firebase project (Auth, Firestore, Storage, Functions)
- Add Firebase config + environment variables
- Run
npm run dev to start development - Deploy to Vercel or Firebase Hosting
Requirements
- Node.js 18+
- Firebase Account
- Optional Google AI key
✅ Why Choose This App?
- Two Games in One: Chess + Checkers
- Complete Solution: Multiplayer + Admin + Marketing
- Secure & Scalable: Firebase backend, server-side rules
- Fast Setup: Docs + video + ready configs