This project accompanies a class lesson in which students wrote programs for stacking cups using real life cups. The code serves as a bridge to see how we can turn a real-life example into a Scratch program. -The UI isn't complete yet. Right now, the Cups in Pyramid slider can only be set for the next run of the program. -Start the program by clicking the green flag and it goes from there.
The image of the cup is from google images. The idea of teaching some basic coding through cup stacking comes from code.org. The follow up to the project is left to my students and others in the Scratch community.