Build LifeQuest Android app | Quest Difficulty, XP System & Unit Testing | Kotlin + Compose | Day 2
siddhubhaiya
0:00 / 0:00
Build LifeQuest Android app | Quest Difficulty, XP System & Unit Testing | Kotlin + Compose | Day 2
19 просмотров · 11 дн. назад
siddhubhaiya
53 подписчика
19 просмотров · 11 дн. назад
🚀 *Android30 Day 2 — Video 3 | Building LifeQuest*
Welcome back to our 30-day Android development challenge!
We're building **LifeQuest**, a real-world gamified productivity app using Kotlin, Jetpack Compose, and eventually a Java Spring Boot backend.
Today, we're upgrading our Day 1 app with better quest models, difficulty-based XP rewards, level progression, and unit tests.
📚 *What You'll Learn*
✅ Kotlin Enum Classes — Easy, Medium & Hard quests
✅ Data Classes — Quest models and immutable updates
✅ Sealed Classes — Success, AlreadyCompleted & NotFound
✅ XP Multipliers and Level Calculation
✅ Preventing Duplicate XP Rewards
✅ Jetpack Compose UI Updates
✅ State Management with rememberSaveable
✅ Unit Testing with JUnit — 4 Test Cases
✅ Clean Separation of UI and Business Logic
🎮 *Features Built by Day 2*
Complete daily quests and earn XP
Easy, Medium, and Hard difficulty levels
Automatic XP multipliers (1×, 2×, 3×)
Level progression with a progress bar
Duplicate quest completion prevention
Tested quest completion logic
💻 *Tech Stack*
Kotlin | Jetpack Compose | Material 3 | JUnit | Git & GitHub
🔗 *GitHub:* [Add your LifeQuest repository URL]
📺 *YouTube:* / @siddhubhaiya2881
*Coming Next:* Day 3 — Android Lifecycle, Compose UI, and improving LifeQuest's design.
30 Days. One Real-World Full-Stack Android App.
*Learn. Build. Test. Deploy. Ship. 🚀*
#Android30 #LifeQuest #Kotlin #JetpackCompose #AndroidDevelopment #AndroidStudio #BuildInPublic