[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"md:..\u002Fcontent\u002Fen\u002Fmissions\u002Fnext-station.md":3,"md-list:..\u002Fcontent\u002Fen\u002Fmissions\u002F":20},{"meta":4,"body":19},{"order":5,"group":6,"title":7,"summary":8,"devices":9,"difficulty":10,"image":11,"levels":12,"seo":16},3,"nextStation","Next Station","Run a train station from your program. Stop each train long enough for its passengers, then send it on its way.",1,[9,5],"\u002Fog\u002Fnext-station.png",[13,14,15],"All aboard","Station signal","Express!",{"title":17,"description":18},"Next Station mission | Learn delays and counting with blocks - FunFunRobotic","A free block-coding mission in your browser. Program a train station in 3D to stop each train, wait for passengers and count the trains, no hardware needed.","Wooden trains come out of a tunnel and run past your station. When a train stands at the platform, your program has to hold it there long enough for the passengers, then let it go. Roll through and everyone is left behind. Wait too long and the next train runs into it!\n\n## What you'll learn\n\n- **Waiting on purpose:** a delay of a few seconds, at the right moment\n- **Sequences:** stop, wait, signal, go, in that order every time\n- **Counting:** count every train that goes by with a counter\n\n## Levels\n\n1. **All aboard:** stop every train for 3 seconds, then send it off\n2. **Station signal:** red while it stands, green to leave, yellow in between\n3. **Express!:** odd-numbered trains stop, even-numbered ones are expresses that run straight through, and you count them all\n",[21,38,53,59],{"slug":22,"meta":23,"body":37},"rush-hour",{"order":9,"group":24,"title":25,"summary":26,"devices":9,"difficulty":27,"image":29,"levels":30,"seo":34},"rushHour","Rush Hour","Run a traffic gate with blocks. Open it for each car, close it once the car is through, then add traffic lights and a car counter.",[9,28],2,"\u002Fog\u002Frush-hour.png",[31,32,33],"Let them through","Traffic lights","Count them",{"title":35,"description":36},"Rush Hour mission | Code a traffic gate with blocks - FunFunRobotic","A free block-coding mission in your browser. Program a traffic gate and its lights in 3D, no hardware needed. Great for kids and beginners.","A car is coming up to the gate! When it presses the button, your program has to open the gate, wait for the car to pass, and close it again. Never close it on a car.\n\n## What you'll learn\n\n- **Events:** run blocks when a button is pressed\n- **Sequences:** green light → open → close → yellow → red\n- **Delays:** wait for the car before closing\n- **Counters:** count every car that gets through\n\n## Levels\n\n1. **Let them through:** open the gate when a car arrives, close it once the car is through\n2. **Traffic lights:** green before you open; after closing, yellow for a second, then red\n3. **Count them:** the same light rules with faster cars, and count every car\n",{"slug":39,"meta":40,"body":52},"crossroads",{"order":28,"group":39,"title":41,"summary":42,"devices":28,"difficulty":43,"image":44,"levels":45,"seo":49},"Crossroads","Run two gates at a crossing from one program. Let one road go at a time, with no crashes.",[28,5],"\u002Fog\u002Fcrossroads.png",[46,47,48],"Take turns","Two traffic lights","Busy junction",{"title":50,"description":51},"Crossroads mission | Code two devices together - FunFunRobotic","A free block-coding mission in your browser. Program two traffic gates at a crossing to work together in 3D, no hardware needed.","Two roads cross, each with its own gate. Cars reach both gates at the same time, so your program has to let one road go at a time. Two cars in the junction crash!\n\n## What you'll learn\n\n- **Multiple devices:** one program drives two gates\n- **Coordination:** open the other gate only once the junction is clear\n- **Conditions:** decide from what the other device is doing\n\n## Levels\n\n1. **Take turns:** let one road go, and open the other gate once the junction is clear\n2. **Two traffic lights:** follow the light rules on both gates\n3. **Busy junction:** more cars, faster, and they give up sooner. Not a single crash\n",{"slug":54,"meta":55,"body":19},"next-station",{"order":5,"group":6,"title":7,"summary":8,"devices":9,"difficulty":56,"image":11,"levels":57,"seo":58},[9,5],[13,14,15],{"title":17,"description":18},{"slug":60,"meta":61,"body":75},"sorting-yard",{"order":62,"group":63,"title":64,"summary":65,"devices":9,"difficulty":66,"image":67,"levels":68,"seo":72},4,"sortingYard","Sorting Yard","Sort trains with your program. Read a sensor to tell what kind of train is coming, then throw the points to send it the right way.",[9,5],"\u002Fog\u002Fsorting-yard.png",[69,70,71],"Left or right?","Passengers only","Count them apart",{"title":73,"description":74},"Sorting Yard mission | Learn if-then with blocks - FunFunRobotic","A free block-coding mission in your browser. Read a sensor and throw the points to sort passenger and freight trains in 3D. Practice if-then thinking, no hardware needed.","Passenger and freight trains come out of a tunnel in a mixed-up order. Freight wagons are taller, so only they reach the cargo sensor mounted up high. Your program reads it and throws the points before the train gets there: passengers to town, freight into the yard. Throw the points while a train is on them and it comes off the rails!\n\n## What you'll learn\n\n- **If-then:** read a sensor and pick the right way\n- **Timing:** decide and throw the points before the train arrives\n- **Counting by kind:** two counters, one for each kind of train\n\n## Levels\n\n1. **Left or right?:** freight goes right, passengers go left\n2. **Passengers only:** passenger trains stop 3 seconds at the platform, freight runs straight through, with the signal\n3. **Count them apart:** faster trains, and each kind counted on its own counter\n"]