Condition Builder: Recipe Builder
Choose chemicals and a planet, then use if, else if, and else to create alien creatures.
Check chemicals and a planet
if checks the first recipe. Each else if checks another. A recipe only matches when all three conditions are correct: chemical 1, chemical 2, and the planet.
Test the lab's recipe chain.
Glorp Juice + Wobble Dust on Mars → Bouncing Blob
Moon Slime + Nebula Nectar on Europa → Frost Baby Alien
Saturn Spark + Galaxy Gel on Saturn → Ringtail Floater
Venus Vapor + Comet Crumbs on Venus → Cloud Squid
Zibble Acid + Plutonian Pop anywhere → Explosion
Anything else → Mysterious Goo
Invent a creature, choose where it can be created, and add your recipe to the JavaScript chain.
Your custom recipe will appear in the code below.
JavaScript is checking this recipe.
Read one line at a time. All checks joined by && must be true.
Explore the full else if recipe chain
Which branch runs?
MarsTest the four creature recipes, the explosion, and an unknown combination.
Completed! Try Antidote Challenge