Lesson 29 of 79 · 15 minutes

while loops: Bucket Brigade

Keep carrying water until the tank is full. Your code decides when to stop.

This game is part of the full course.You own the full course. Unlock all 79 Python coding games for $9, once.Opening the game…
Unlock for $9Play now

What you'll learn

Each idea opens with a short narrated video, about 3 minutes in all. Then you put it to work in the game.

The six levels

  1. A Bigger Tank Change it
  2. Count to 5 Copy and type
  3. How Many Buckets? Fill the gap
  4. Progress Report Write it
  5. Going Nowhere Fix it
  6. Any Size of Tank Boss level

The levels go from changing one word, to writing the code on your own. The boss level changes every time you play.

New to Python? Start with the free games in Module 1.