VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » Knowledge, science, education » TED-Ed
The Furnace Bots Think Like A Coder, Ep 3

The Furnace Bots Think Like A Coder, Ep 3

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
This is episode 3 of our animated series Think Like A Coder. This 10-episode narrative follows a girl, Ethic, and her robot companion, Hedge, as they attempt to save the world. The two embark on a quest to collect three artifacts and must solve their way through a series of programming puzzles. Lesson by Alex Rosenthal, directed by Kozmonot Animation Studio
Date: 2020-08-22

Comments and reviews: 10


I didn't get the same solution but is this alright?
Since hedge can see all serial numbers in my mind i put the serial numbers in an array and the furnace number as a variable:
Check furnace number, if its equal to 0 then upload the control program, if not then, iterate through the serial numbers array and match the current furnace number, on match found, check the robot with the serial number matching the current furnace number its furnace number then repeat until the 1st condition is met.
Is that good? Or slower?

reply

Amazing animation and pretty cool presentation of the concepts. But I doubt a complete new beginner will be able to follow the instructions to solve the problem being presented with the solution in the video. There are so many open questions about what is possible to do in that world that need to be answered before thinking about how to solve the problem.
reply

My solution:
1. Take a random bot.
2. Store its above number in i
3. Scarch robots until found a robot with a below number equal to i
4. change i to the below number of the found robot
5. Do missions 2-4 for the new robot UNLESS its above number is 0, then enter the data crystal into him.

reply

1. Choose a random bot.
2. Check the bots furnace number and store it in a variable.
3. If its not 0, search for the bot which serial number is identical to the value stored in the variable.
4. Repeat 2 and 3 until the variable equals 0
5. Inject the data crystal.

reply

This is wrong. This algorithm wouldnt speed up the time to find the 0 th bot. Even if you search one bot, you still have 99 more to look at their numbers. This isnt any better than finding the 0 bot Monte Carlo because it does reduce the search field.
reply

# Implementation in Python
import random
serial = random. choice(bots. serial_number
bot = bots[serial]
while bot. inside_number! = 0:
serial = bot. inside_number
bot = bots[serial]
upload_control(bot)

reply

I just started seeing these videos. I am already curious what will happen after she gets the 3 gems! like this and reply if you are also curious of what will happen. we can discuss about it
reply

Hey mate, who's your dad?
That guy over there, you see him?
stops another guy
Hey mate, who's your dad?
I don't have a dad: (
So you have chosen death

reply

if you can see the furnace number, why not do this:
var i = 0
while (i < amount_of_furnace_robots)
if furnace_number === 0
inject_code
break


reply

The Furnace bots. they make meals bad turn them into a oven or a microwave or turn them into a minecraft Furnace weapon like it glitches the server into banning peoples
reply
Add a review, comment






Other channel videos