Lab 2.2 Yellow Brick Road alternate solution #327
jdonwells
started this conversation in
Show and tell
Replies: 1 comment
-
I like to come back to the Yellow Brick Road in lesson 3.2 to show it with loops, conditionals, and a splash of generalization. https://snap.berkeley.edu/snap/snap.html#present:Username=jdonwells&ProjectName=Lab%202.2%20Yellow%20Brick%20Road%20generalized%20with%20conditionals |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I found the given solution to lab 2.2 a bit hard to understand. I refactored it to this which I think might be easier to understand.
https://snap.berkeley.edu/snap/snap.html#present:Username=jdonwells&ProjectName=Lab%202.2%20Yellow%20Brick%20Road%20Best%20Solution
Keep in mind that this and the given solution do not solve the problem. Both draw extra bricks.
Beta Was this translation helpful? Give feedback.
All reactions