
The Train Heist Think Like A Coder, Ep 4
video description
Date: 2020-08-22
Related videos
Comments and reviews: 10
Ban
The solution is wrong, if we know that in the moment we start the locomotive is under the crane, we just need to program that when you see in the screen a blue arrow +1 to a variable that starts in 0, when you see a yellow arrow, -1 to this variable, when the variable is equal to 10, pulse the button, is much more simple and faster
reply
The solution is wrong, if we know that in the moment we start the locomotive is under the crane, we just need to program that when you see in the screen a blue arrow +1 to a variable that starts in 0, when you see a yellow arrow, -1 to this variable, when the variable is equal to 10, pulse the button, is much more simple and faster
reply
education
ight so my guess is the variable is set to 10.
-> assuming the power thingy moves 1 cart closer, minus the variable by 1
= 1:
if ->:
N - 1
else:
N + 1
print(Press the button)
this is python and it doesn't work. this is just how it looks like in my head.
Edit: This was before the hint
reply
ight so my guess is the variable is set to 10.
-> assuming the power thingy moves 1 cart closer, minus the variable by 1
= 1:
if ->:
N - 1
else:
N + 1
print(Press the button)
this is python and it doesn't work. this is just how it looks like in my head.
Edit: This was before the hint
reply
Evanburger
# Python implementation
LOADER_POSITION = 0
artifact_position = -10
for arrow in display. generate_arrows):
if arrow == display. RIGHT:
artifact_position += 1
else:
artifact_position -= 1
if artifact_position == LOADER_POSITION:
push(button)
reply
# Python implementation
LOADER_POSITION = 0
artifact_position = -10
for arrow in display. generate_arrows):
if arrow == display. RIGHT:
artifact_position += 1
else:
artifact_position -= 1
if artifact_position == LOADER_POSITION:
push(button)
reply
Howtard
This series is great; I'm at the point where I can figure out the logic of the answers ahead of time, but I don't have the language skills to express it in proper syntax.
It's slow going but maybe some day I'll make something usable
reply
This series is great; I'm at the point where I can figure out the logic of the answers ahead of time, but I don't have the language skills to express it in proper syntax.
It's slow going but maybe some day I'll make something usable
reply
kcnossen
how im like the train:
Me: lets put a really valuable diamond right here so some rebels get it easily
Train: its good I have a button so my really really important cargo can be stolen be rebels
reply
how im like the train:
Me: lets put a really valuable diamond right here so some rebels get it easily
Train: its good I have a button so my really really important cargo can be stolen be rebels
reply
Frater
If the artifact powers the train. And they disconnected it from the train. Then how is it able to take them to their next destination? Damnit, ya'll got me thinkin' all logical like, How dare y'all
reply
If the artifact powers the train. And they disconnected it from the train. Then how is it able to take them to their next destination? Damnit, ya'll got me thinkin' all logical like, How dare y'all
reply
Clima
5: 28 I'm confused. Narrator says to the southeast but the map shows that the forest is at the southwest? Or is the configuration of the map is such that the north is to the east?
reply
5: 28 I'm confused. Narrator says to the southeast but the map shows that the forest is at the southwest? Or is the configuration of the map is such that the north is to the east?
reply
Adam
Can someone suggest a platform that gives more practice for all these loops, variable, and conditionals. It would be nice if it was as fun as these videos.
reply
Can someone suggest a platform that gives more practice for all these loops, variable, and conditionals. It would be nice if it was as fun as these videos.
reply
Quang
Plot twist: the sum may never get to 0. A simple example is that the artifact is at the end of the train and therefore no need to go there.
reply
Plot twist: the sum may never get to 0. A simple example is that the artifact is at the end of the train and therefore no need to go there.
reply
Stephanie
Hold up how come Hedge could detect the second stone but had to help Adila in episode 3 so she'd tell them where the first one was?
reply
Hold up how come Hedge could detect the second stone but had to help Adila in episode 3 so she'd tell them where the first one was?
reply
Add a review, comment
Other channel videos















