Skip to content
G

GanitXcel

GanitXcel: Math, gamified. Mastery, simplified.

Created on 1st November 2025

•

G

GanitXcel

GanitXcel: Math, gamified. Mastery, simplified.

The problem GanitXcel solves

Here’s a breakdown of the problems we're solving with GanitXcel

1. We're Solving the "Passive Learning" Problem 😴

The biggest problem with online math education is that it's *passive. Students just watch a long video, get bored, and skip ahead. They *think they've learned it, but they haven't. This creates small gaps in their knowledge that turn into huge, failing grades later.

Our Fix: We force active mastery.

  • No Skipping: Students can't skip or fast-forward videos. They have to engage with the lesson.
  • Mandatory Quizzes: After every single video, there's a quiz. You can't unlock the next lesson until you pass.
  • AI Tutor: If you get a quiz question wrong, you're not just stuck. Our Gemini-powered AI immediately gives you a step-by-step solution. This turns failure into a real learning moment.

2. We're Solving the "I'm Stuck" Problem 🤯

The second major problem is that learning math is isolating. When a student gets stuck on a problem at home, they have no one to ask. They get frustrated, give up, and start to believe, "I'm just bad at math."

Our Fix: We provide instant, 24/7 support.

  • AI Chatbot: Our in-class AI tutor can be opened anytime to answer specific questions about a concept.
  • Live Classes: For more complex, human-level doubts, students can pre-submit their questions and join live doubt-clearing sessions with a real, qualified teacher.

3. We're Solving the "Motivation Crisis" 🥱

The final problem is that for a 10th-grader, learning math is a *boring, thankless chore. There's no fun, no social element, and no reward. Why would they *choose to do math when they could be playing a game?

Our Fix: We make learning a fun, social competition (like Duolingo).

  • It's a Game: We've built in *daily streaks, *points for every completed task (like watching a video or passing a quiz), and a site-wide leaderboard.
  • It's Social: Students can add their friends and compete with them directly, turning an isolated activity into a social one.
  • It has Real Rewards: This isn't just for fake internet points. The top rankers get certificates, platform **swags, and real-world **cash scholarships (₹500-₹1000). We give them a real, tangible goal to aim for.

Challenges we ran into

  1. The "Hackathon Trap": Our Scope is Huge
    Our biggest challenge, honestly, is our own ambition. We've designed a full-stack, AI-powered, gamified, multi-user platform for a weekend hackathon.

The Problem: Features like a "Duolingo-style UI," "friend leaderboards," and "UI animations for broken streaks" are massive time-sinks. We can't afford to spend 8 hours on one animation while our core features are broken.

Our Solution: We have to be ruthless about the Minimum Viable Product (MVP).

Priority 1: Student Login -> View Course -> Take Quiz -> Get AI-Tutor Help -> See Points.

Priority 2: Teacher Login -> "Start Live Class."

Priority 3 (If time): Everything else (friend system, UI polish, etc.).

  1. The Core Challenge: Our Backend Logic is Breaking
    This is the root of all the bugs we're fighting right now.

The Problem: Our app's logic is complex. It's not just showing pages; it's constantly checking rules:

Is this user a student or a teacher?

Does this student own this course? (This is why we have the duplicate purchase bug).

Is this teacher qualified? (This is our teacher login bug).

Our Solution: We need a single source of truth. We must implement a React AuthContext that provides not just the currentUser (from Auth) but also their Firestore document (with their role, purchasedCourses, etc.) to the entire app. This will fix all our routing and "duplicate purchase" bugs at once.

  1. The "Real-Time" Challenge: The Live Class Feature
    This feature is trickier than just fetching data.

The Problem: When we (as the teacher) click "Start Class," the student needs to be notified instantly, without a page refresh.

Our Solution: We have to use a Firebase onSnapshot listener. This is a real-time subscription. The hard part is managing it: we have to start the listener when the student logs in and, more importantly, unsubscribe from it when they log out to prevent memory leaks.

  1. The "Contextual AI" Challenge: The Post-Quiz Tutor
    This is our "magic" feature, but it's also the most complex AI part.

The Problem: The simple "AI Chatbot" is easy (User question -> AI answer). The "Post-Quiz Tutor" is much harder because it needs context.

Our Solution: Our code has to:

Get the quizQuestion from Firestore.

Get the student's wrongAnswer.

Get the correctAnswer from Firestore.

Combine all three into one big, complex prompt for the Gemini API (e.g., "A student got this question wrong... explain why their answer was wrong and how to get the correct one..."). This data-flow is tricky.

  1. The "Integration" Challenge: Too Many APIs
    Our project is basically a "frankenstein" of different services, which is normal for a hackathon, but it's still a challenge.

The Problem: We are stitching together:

React (Frontend)

Firebase Auth (Login)

Firestore (Database)

Gemini API (AI)

YouTube IFrame API (To disable skipping)

Razorpay API (Dummy payments)

Our Solution: We have to be careful. A bug in one service (like Firebase Auth) will break all the others. We also have to manage all our secret API keys in the .env.local file.

Discussion

Builders also viewed

See more projects on Devfolio