A demo project for loop and recursion in Scratch. The functionality is the same but the implementation differs. Scratch allows recursive calls so “recursive stairs” is called inside the definition of “recursive stairs”. Advertisements
Yesterday, I remembered an implementation of Shortest Path I wrote for a Scratch project. The image was made with scratchblocks.github.io and you can see the code here.
Yesterday I saw the CS Advanced Placement pop quiz by The New York Times, and it was very inspiring. Especially quiz number 5 the MoveAndTurn problem. I made a Scratch project about it: The most interesting part of this project is the generation of a random path. To create it I used a greedy method… Continue reading MoveAndTurn Part 1