locked · puzzle · js
Robot Factory
Build robots with code. Save the factory.
levels
- 01Boot SequenceVariables · Types
Power on Robot #1 by declaring variables and assigning the right values to the control system.
◌ locked50 XP5 min - 02Decision Matrixif / else · conditionals
Robots need to make decisions. Write conditional logic to handle different factory states.
◌ locked75 XP8 min - 03Assembly Linefor · while loops
Automate the production line using loops. Repeat tasks until every unit is assembled.
◌ locked75 XP8 min - 04Modular RobotsFunctions · Scope
Write reusable functions for each robot module. No duplicate code in the factory.
◌ locked100 XP10 min - 05Parts InventoryArrays · map/filter/reduce
Manage the factory inventory using arrays and array methods to track and sort parts.
◌ locked100 XP10 min - 06Robot NetworkObjects · Classes
Model each robot as an object with properties and methods. Object-oriented thinking.
◌ locked125 XP12 min - 07Supply ChainPromises · async/await
Parts arrive asynchronously. Use Promises to handle deliveries without blocking the line.
◌ locked150 XP12 min - 08Full AutomationFull JS challenge
Combine every concept to bring all robots online and restore full factory capacity.
◌ locked200 XP15 min