In this project, you'll use abstractions inside of abstractions to build a row of houses.
draw square
block that takes a size as input. Be sure to test it with different inputs.draw
square as an example of where to start, create and test a draw triangle
block that takes a size as input and draws an equilateral triangle.draw square
and draw triangle
together to create a draw house
blocks that takes a size as input and draws a house shape: a square with a triangular shaped roof sitting on top.draw house
block together with repeat until
to create a draw row of houses
block that draws a row of attached houses with each new one to the right of the previous. Your program should keep drawing houses until the sprite moves too close to the right edge of the screen. For that, you will need repeat until
.repeat until
code keep the sprite from drawing too close to the edge of the screen?
draw square
block to create a draw flower with square petals
block that will draw a flower with square petals with any specified number of petals of the specified size.