VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » Knowledge, science, education » TED-Ed
The Gauntlet Think Like A Coder, Ep 8

The Gauntlet Think Like A Coder, Ep 8

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
This is episode 8 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: 5


When I realized the clones were destroyed when they went through the wrong path I realized this is so incredibly simple, here is the psuedocode I came up with for it, sorry if there are any flaws in it
If a bot reaches an intersection they will make a clone for each route,
these clones will be named after the route they take,
the clones go down the path and if they reach the exit to the gauntlet they send out a signal, which can be anything
when there is a positive response given the next bot up the tree is informed,
repeating until it reaches hedge
Don't know why the initial solution presented is so complex, the name of the bot that found the route could be say, LRRRLRLRLLLRLRRLLLLLLRRLRRRRLL or something like that, and you would know which route to take because they were the only ones to give a signal

reply

Spoilers here, stop if you want to figure out the story for yourself
Serioulsy, don't continue if you haven't watched the series yet
Okay so at 6: 59 you can see Hedge already knows the node's power and is infatuated by it. Showing a heart and then the node symbol in his eyes. Just shows how much they've thought out this series

reply

I didn't understand recursion quite well. We could have simply used the if else function. The program could have been that if mini hedge reaches a point where path splits, it would send more mini hedges else they report back to their parents. (Or they would just get destroyed. We don't put any code for that) Pls help me this someone.
reply

damn those gaurd bots were REALLY made cheaply if they can be defeated by ckicking them or spraying their face AND are easily defeated by just some hastily decorated boxes. makes me wonder, do they have any amount of EMP protection?
reply

i used recursion in my decimal to binary and it just returned the 0 state immediately
i should've stopped right when the decimal was 0 and not call any more functions

reply
Add a review, comment






Other channel videos