← LessonsPIXEL PATH Β· 4–6πŸ’“

Heartbeat Circuit Breaker

LESSON 114
🎯 Today's missions
πŸ₯πŸ’“πŸ©»
HOSPITAL TECH

Heartbeat Circuit Breaker

The hospital scanner keeps failing! Build a safety switch that pauses new work, waits for recovery, and tests one careful request.

🧠 Before we start

Backstage, your token bucket slowed a crowd before one door became overloaded. Today, a circuit breaker protects a sick service. It moves between three states: closed and working, open and resting, then half-open for one careful test.

🟒 Send safelyβ†’πŸ’₯ Count nearby failsβ†’πŸ”΄ Open at threeβ†’πŸŸ‘ Test recovery
Challenge 1 of 4Build the safety rules
1

Arrange the safety switch

Tap five visual instruction blocks in the order the hospital guard should follow.

MY VISUAL CIRCUIT-BREAKER PROGRAM
1 Β· WATCH
2 Β· COUNT
3 Β· OPEN
4 Β· REST
5 Β· TEST

🌟 What you learned

Come back tomorrow for another advanced visual coding adventure! ✨