stamp_big_squares_starter
Project Description
stamp_big_squares_starter, 2025f.jun02
Instructions:
Fix the numbered button "P2" so it tells the stamper to draw the pyramid shape! Puzzle "P1" is already solved; it can be a role model.
Purple button sprite "P2" is supposed to make the stamper draw a slanting pyramid. The P2 button should use blocks, variables, and repeats to draw the shape shown. Buttons will tell the stamper to draw by doing things like "stepsRight(howMany)" or "stamp". The full list of broadcast-able commands is inside the stamper and in our Canvas page.
Please don't use the variables that have names starting with "yy..." -- they are special, secret, and necessary.
This is major practice with blocks, variables, and repeats!
This version is similar to small_squares_starter in specifically using "tell stamper..." w/in the stamper's code, w/o students seeing the "tell", perhaps unfortunately.
[x] this version no longer announces every test, no longer has prob2 solved, and has more hints in prob2!
[x] This tests 2 different sizes!!
[x] This version is revised so that tests specify WidthWanted is 5, not global yyWidthWanted!
[x] big stamper doesn't change colors to keep smaller vocab..
[x] has sunglasses to toggle resultKey
[x] all custom blocks have "don't change me" (except zPn... puzzles, natch).
[x] puzzle icons are greyer
[x] Sample code has "tell..."
[x] Tests revised to tell pink calls instead of broadcasts with globals.
Big changes from scratch! Now stamper's blocks are global so they can be called with "tell stamper" and args and w/out confusing students with intermediary broadcasts.
from original by M. Roam. This version is somewhat optimized for Snap!'s super-powers, and has fewer global vars.
"Clear" erases the screen. Greenflag puts the purple "stamper" at a favorite starting place. Click screen or use "goToXY..." to move the stamper. "Test" lets us test one or all of the purple buttons.
Note to self for future improvements:
[x] Move "test" sprite below sprite "goToXY..", []allow various colors, [x]stamper notices being dragged to new position.
Notes & Credits:
Revised 2025 Jun 1 to have more hints in P2's script.
Revised 2025 April 4 so tests use 5 and 3, not yyWidthWanted. stampAHoriz... now starts stamping at current pos, and ends to the right of last stamp.
Revised 2025 Jan 19-21 port from Scratch.
Revised 2024 to only have problems 1 & 2! (Use the 2024 starter for the rest with smaller (5 instead of 20 pixel) squares.)
Project by Mike Roam, 2022nov-2025. (Revised: [x] ResultKey picture can toggle on off in test button. [x] Messages for Puzzles start with Z to distinguish them from stamper messages. [x] Stamper has outline but stamps don't. [x] Test specifies heightWanted. [x] Student coding happens inside buttons instead of inside stamper. [x] Click to move stamper!)
Based upon various "typewrite art" projects I've done and seen over the years. The "stamper" sprite provides about ten red code blocks to use. It's a little tricky because they limit you to drawing down from the top, only.
The test sprite can call any (or every) button, but doesn't know if they draw the right thing so check yourself. I've made an answer key picture that I share onscreen and in canvas.
QUESTIONS: how to change range of var with slider on screen on iPad w/o keyboard?? (control click works if have keyboard)
PROJECTS/TODO: might be nice if stamper could change color like smallBlocks starter.
[x] Have broadcasts use data instead of globals!?!?
[x] Have stamper's blocks use "gotoX[][]onStampGrid" instead of blue with math.
Converted 2025a.jan18 by Snapinator from from Scratch version 2024a.jan24
of original by M.Roam at https://scratch.mit.edu/projects/767608186/
Created January 18, 2025
Last updated June 2, 2025
Shared January 20, 2025