💎
💻 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
+100XP
🏆CertificatePDF
🎓Course complete
Progress0 / 5 · 0%
Next up: Collect the gems

Course program

01

Collecting gems

0 / 5 lessons
  1. 01

    Collect the gems

    move()CollectingCounter 💎⚡ +10
    ▶ Now
  2. 02

    Collect with a loop

    for looprange(n)Repetition⚡ +10
    Open
  3. 03

    while — until none left

    while loopgems_left()Condition⚡ +10
    Open
  4. 04

    Collect around the corner

    while + ifcan_move()Turning⚡ +10
    Open
  5. 05

    Clear the room

    Your functiondefSnake path
    Course complete
    Open
Gem Collector — online coding course