CodeDala
Home
Courses
Paths
How it works
Pricing
🌐
KZ
RU
EN
Log in
Start free
💎
💻 For developers
Gem Collector
Collect every gem: while loops and counter variables
What you'll build
📘
A solid foundation
⚡
Practice in the browser
🎯
Mini-projects
🎓
Course certificate
📘 5
lessons
⏱ ≈ one evening
🎓 For beginners
🎯 Mission
Master Gem Collector
⚡
+100
XP
🏆
Certificate
PDF
🎓
Course complete
Progress
0 / 5 · 0%
Next up:
Collect the gems
Start the project →
Course program
01
Collecting gems
0 / 5 lessons
⌄
01
Collect the gems
move()
•
Collecting
•
Counter 💎
⚡ +10
▶ Now
02
Collect with a loop
for loop
•
range(n)
•
Repetition
⚡ +10
Open
03
while — until none left
while loop
•
gems_left()
•
Condition
⚡ +10
Open
04
Collect around the corner
while + if
•
can_move()
•
Turning
⚡ +10
Open
05
Clear the room
Your function
•
def
•
Snake path
🎓
Course complete
Open
Gem Collector — online coding course