XP & Ranks System
Khoda uses a gamified experience point (XP) system to track your progress and motivate your learning journey. Earn XP by completing activities and rank up from F to S.
How XP Works
Experience Points (XP) are earned by completing various activities on the platform. Your total XP determines your rank, which is displayed on your profile and leaderboard.
Ways to Earn XP:
- Completing lessons (varies by lesson)
- Finishing exercises (10+ XP, requires 70% score)
- Using the Playground timer (5 XP every 5 minutes)
- Daily Challenges on your learning paths
- Completing learning paths
- Sharing projects in the Playground
XP Features:
- XP is tracked in real-time
- All XP transactions are logged
- Rank updates automatically when thresholds are reached
- XP never decreases (only increases)
- View your XP history in your profile
Rank System
Our Anime inspired ranking system gives our users goals to pursue, an build a competitive culture. Nothing truly matches the Aura of an S Rank Badge next to your name in our leaderboard!
Your rank is determined by your total XP. As you earn more XP, you'll progress through the following ranks:

Rank F
0 XP

Rank E
800 XP

Rank D
2,000 XP

Rank C
3,500 XP

Rank B
5,000 XP

Rank A
8,000 XP

Rank S
12,000 XP
Rank Progression
Your rank is automatically calculated based on your current XP. The system uses the following logic:
Automatic Rank Updates
When you earn XP, the server automatically checks if your rank should be updated. If your XP meets or exceeds the threshold for the next rank, your rank is updated immediately.
Progress Tracking
You can see your progress to the next rank on your dashboard. The progress bar shows how close you are to ranking up.
Rank-up moments
When you cross into a new rank, Khoda celebrates on screen. Your profile badge and leaderboard position update right away.
Detailed XP Sources
Lesson Completion
Each lesson awards XP when completed. The amount varies based on the lesson's difficulty and content length.
- XP is awarded immediately upon lesson completion
- You can only earn XP once per lesson
- XP amount is shown before completing the lesson
Exercise Completion
Exercises require a minimum score of 70% to pass and earn XP. The XP amount is typically 10+ points per exercise.
- Must score 70% or higher to earn XP
- XP is only awarded on first successful completion
- You can retake exercises, but won't earn additional XP
Daily Challenges
Ranked challenge runs award profile XP when you play on an unlocked learning path. Clear the daily goal for full credit; partial runs still keep most of what you earned.
- 100% when you first clear today's goal
- 80% if you run out of time before the goal
- 50% of improvements on beat-your-best runs after the goal is cleared
Playground Timer
The Playground features an XP timer that awards 5 XP every 5 minutes while you're coding. This encourages consistent practice.
- Awards 5 XP every 5 minutes of active coding
- Timer continues even when the panel is hidden
- Server-side throttling prevents abuse (max once per 5 minutes)
- Auto-pauses every 20 minutes on mobile
Leaderboards
Global XP leaderboard
The main leaderboard ranks learners by total profile XP. Filter by all time, this week, or this month. Follow friends to compare on a friends tab.
Challenge weekly board
Inside Daily Challenges, a separate board ranks this week's challenge XP on your path (and a global view). Faster clear times break ties. See the challenges guide.
Tips for Ranking Up
- •Complete lessons consistently to build steady XP
- •Play Daily Challenges after unlocking them on your path — big XP in a short session
- •Practice in the Playground regularly to earn timer XP
- •Focus on completing exercises with high scores
- •Finish entire learning paths for bonus XP
- •Check your progress regularly to stay motivated