← Gallery

Conditionals

by Anonymous

Build one if–else rule so the robot at a fork reads the door and picks its own path.

Ready to remix β€” hit the 🍴 Remix button below. You'll sign up first, then this app is copied into your workspace.

πŸ”— Open in a new tab

About this app

Conditionals is an interactive coding-basics app where learners guide a robot through crossroads using if, else if, and else rules. Three activities introduce conditional logic: choosing a path based on door colors, solving maps with reusable rules, and directing guests according to measurements, ages, temperatures, parity, or scores. Learners can change rules, run scenarios, and test whether their logic works consistently.

Use cases

  • Beginners learning if/else logic
  • Teachers introducing algorithms through visual puzzles
  • Children practicing decision-making and rule order
  • Learners exploring conditions based on colors and numbers

Features

  • Robot crossroads activity with red and blue door scenarios
  • Optional no-condition mode for comparing rule-based choices with guessing
  • Ten-run test that reports successful trials
  • Five conditional puzzle levels using colors, numbers, multiple paths, and rule order
  • Rule-building missions for theme park access, tickets, clothing, team assignment, and awards
  • Reset, next-level, run, and sound controls