Chapter-Wise Question Bank β’ Daily 10-Question Live Quiz β’ Live Leaderboard β’ Yesterday's Champion & In-Game Rewards β’ 3D Streaks β’ Zero-Friction Guest Trial β’ Central Admin Panel
Learn. Play. Rise.
Daily challenges, chapter-wise practice, real-time battles and rewards β all in one immersive 3D learning world.
Explore the full Play Store creative kit β
- π¨ Glassmorphism & Neon Glow Dark UI:
- Futuristic Navy Blue + Purple Gradient aesthetic with realistic glossy glassmorphism cards and neon glowing borders.
- π Daily 10-Question Competitive Quiz:
- 10 fresh questions every single day with real-time countdown timer, speed-based bonus scoring, and anti-cheat mechanisms.
- One counted attempt per day: your first run sets your leaderboard score and locks it in (a Score Shield buys one replacement). See
docs/21_DAILY_SCORING_RULES.md.
- π₯ Yesterday's Champion & In-Game Rewards Tracker:
- Everyone on the home screen sees who won yesterday (#1 Podium with 3D trophy), their score, and what in-game reward they earned (Coins, Gems, Power-Ups, Shop Items).
- π₯ 3D Daily Streak Fire Flame:
- Motivating daily streak system with interactive fire animations and weekly milestone rewards.
- π₯ Genuinely Offline:
- A cached chapter keeps working when the network drops: an aged cache is still served while a refresh is attempted in the background, so a chapter never turns into "no questions yet" mid-session.
- π Chapter-wise JSON Question Bank:
- Modular JSON-driven question banks organized by Categories and Chapters (General Science, Tech, History, Geography, Math, etc.).
- Every set doubles as a reading-only Revision screen (per-set "Revise" chip): all options with the correct answer highlighted plus explanations β new bundled or admin-added questions appear automatically.
- π― Free Practice β Unlimited Random Rounds:
- A dedicated section that draws 10 fresh random questions from the whole mixed bank (or one chosen subject) every round β play as many rounds a day as you like, each one a new draw. Pure revision: nothing is counted (no coins, gems, stats or leaderboard credit), so it can never be farmed. Wrong answers still land in the Mistake Notebook.
- πͺ Zero-Friction Guest Trial Onboarding:
- Visitors can explore the dashboard and play trial quizzes immediately without forced registration. Guest players get an optional Google sign-in card below the home header, so they can link and sync their progress without visiting Profile.
- π‘οΈ In-App Admin Control Panel (author-only):
- Chapter/subject manager, AI-assisted trilingual subject/chapter drafts with review-before-save, question bank with search and filters, review-before-append AI question generator (10 questions per run, trilingual), shop and avatar managers, question-count sync, audit log. Gated on the Firebase
admincustom claim, so ordinary accounts never see it.
- Chapter/subject manager, AI-assisted trilingual subject/chapter drafts with review-before-save, question bank with search and filters, review-before-append AI question generator (10 questions per run, trilingual), shop and avatar managers, question-count sync, audit log. Gated on the Firebase
- π Fully Trilingual (English Β· বাΰ¦ΰ¦²ΰ¦Ύ Β· ΰ€Ήΰ€Ώΰ€¨ΰ₯ΰ€¦ΰ₯):
- Interface and quiz content in three languages from one switch. Picked automatically from the device locale, changeable any time from Profile β Settings β Language, stored locally and kept across restarts. The font swaps to Hind Siliguri for Bangla so no glyph is ever missing.
- π Trilingual Question Bank:
- Every question, option and explanation is authored in all three languages and shipped inside the app β so it works with no network, opens instantly, and uses correct board terminology instead of a machine's guess. Questions are authored in the admin panel (Firestore) and copied into the bundle before a release with
tool/pull_firestore_questions.py, so the offline copy grows without an app update;tool/validate_questions.pyrefuses to let an incomplete or inconsistent bank reach a build. Current bundle: 1880 questions across 48 chapter banks, 100% in en/bn/hi (python3 tool/validate_questions.py --statsprints the live numbers).
- βοΈ Real 1-vs-1 Battle Arena:
- Live Firestore matchmaking finds a same-difficulty opponent (with a cricket-style VS intro + confetti); no real player found β a smart bot takes over so nobody waits. Every match deals 5 questions mixed from all chapters and never repeats a question until the pool cycles. Symmetric scoring (
base + speed bonus + streak bonus) keeps it fair for both sides; win by forfeit when the opponent drops. Seedocs/12_BATTLE_1V1_REAL_PLAYER_PLAN.md.
- π Daily Quiz reminders (on-device):
- Native OS notifications at 7:00 PM local, even if the app is killed. Completely free β scheduled on-device, restored after reboot. Streak copy when a streak is live; silent for the rest of the day once you've played. Toggle in Profile β Settings. The home-screen bell opens a local notification inbox (unread badge is real). Implemented in
lib/data/services/notification_service.dart.
- π‘ Live push via OneSignal (FCM under the hood):
- Admin broadcasts and 1v1 pings when the app is killed. Paste the OneSignal App ID into
lib/core/constants/onesignal_config.dartafter uploading the Firebase service-account JSON to OneSignal. Seedocs/16_ONESIGNAL_FCM_SETUP.md.
- π§ Safe Quiz & Match Exit:
- Leaving an in-progress quiz cancels its timer and any delayed progression before the route closes. Leaving a battle also stops its timers and detaches room/challenge listeners, so a background match cannot reopen or mutate a later screen.
- π£ Release Push β Update Center:
- A new version ships with a trilingual OneSignal push (tap β Update Center), a non-blocking "what changed" / "update ready" dashboard banner, and an in-app flexible Play update that only installs on an explicit tap β no surprise modal, no mid-scroll restart. See
docs/22_APP_UPDATE_PUSH.md.
- A new version ships with a trilingual OneSignal push (tap β Update Center), a non-blocking "what changed" / "update ready" dashboard banner, and an in-app flexible Play update that only installs on an explicit tap β no surprise modal, no mid-scroll restart. See
All architectural and step-by-step blueprints are documented in the docs/ folder:
- ποΈ
03_JSON_DATA_SCHEMAS.md: JSON Schemas for Chapter questions, Daily Quiz, Leaderboards, and Rewards. - π₯
07_FIREBASE_GOOGLE_SIGNIN_SETUP.md: Firebase project, Google Sign-In and the admin claim. - π
09_CLASS10_SUBJECT_CHAPTER_LIST.md: The Class-10 subject/chapter map the banks are generated from. - βοΈ
10_QUESTION_AUTHORING_GUIDE.md: How to author a question batch (schema, trilingual rules, validator). - π₯
11_ADMIN_AI_QUESTION_GENERATOR_PLAN.md: The AI question generator β schema, prompts, append guarantee. - βοΈ
12_BATTLE_1V1_REAL_PLAYER_PLAN.md: The 1v1 battle arena (matching, VS intro, symmetric scoring). - π‘
16_ONESIGNAL_FCM_SETUP.md: OneSignal + FCM live push. - π
21_DAILY_SCORING_RULES.md: The daily competition β one counted score per day, ranked vs practice packets, the publishing cron. - πͺ
17_PLAY_STORE_RELEASE.md: Signing, API 36, AdMob and Play Console release runbook. - β
18_PLAY_STORE_PUBLISH_TODO.md: Owner checklist from account setup through post-launch AdMob verification. - π₯
19_FIRESTORE_TO_BUNDLE_PULL.md: Pull admin-authored questions into the bundled banks (offline parity), with the CI gate. - π
20_PLAY_STORE_API_PUBLISH.md: Publish the store listing + AAB via the Play Developer API (once-off setup, then automated). - π£
22_APP_UPDATE_PUSH.md: The release push β dashboard banner,open: app_updatedeep link, Update Center, OneSignal targeting and the publish hook. - π
SECURITY_P0_FIXES.md: What the P0 hardening changed, and the owner's deploy steps.
quizbaaz/
βββ assets/
β βββ data/ # JSON Question Banks, Champions & Daily Quiz
β βββ icons/ # 3D Glossy Action Icons (Streak Fire, Sword, Shop, etc.)
β βββ images/
β βββ avatars/ # 3D Player Profile Avatars
β βββ characters/ # 3D Hero & Champion Characters
β
βββ docs/ # Comprehensive Architecture & Step-by-Step Plans
β
βββ lib/
β βββ core/
β β βββ constants/ # App Colors, Theme, Asset Paths, Strings
β β βββ theme/ # Glassmorphism & Neon Glow Theme Configuration
β βββ data/
β β βββ models/ # Question, Chapter, Champion, User, Leaderboard Models
β β βββ providers/ # Quiz, User, Auth, and Leaderboard Providers
β βββ presentation/
β βββ screens/ # Dashboard, Daily Quiz, Chapters, Leaderboard, Admin, etc.
β βββ widgets/ # Reusable GlassCard, NeonButton, StreakFlame, Podium
β
βββ pubspec.yaml
- Frontend Framework: Flutter 3.x (Dart 3.x)
- State Management: Provider
- Localisation:
flutter_localizations+ hand-written catalogues inlib/l10n/(en, bn, hi) - Typography: Google Fonts (
Poppinsfor en/hi,Hind Siligurifor bn) - Visual Effects: Custom Backdrop Filters, Dual Gradients, Box Shadows
- Animations: Lottie, Custom Matrix4 Transformations
- Audio & Feedback:
audioplayers,haptic_feedback - Local Persistence: Hive
- Developer: Keshab Sarkar (@Keshab1997)
- Repository: https://github.com/Keshab1997/quizbaaz







