Basic Simulation -- Stacking Blocks -- Template
Your task is to create a simulation that drops square blocks that land on the red, or on each other, repeatedly until a stack of blocks touches the blue line.
That is, a block should
(1) Start a random position (See Reset)
(2) "Fall" until either it hits red or another block
(3) Once it hits red or another block, the block should reset and fall again, or a new block should fall from a random position.
(4) The total number of blocks used before the blue line is hit should be recorded in Number_of_Blocks