Skip to content

Instantly share code, notes, and snippets.

View littilewing's full-sized avatar

littlewing littilewing

View GitHub Profile
@maedaunderscore
maedaunderscore / build.st
Last active August 29, 2015 14:27
Smalltalk から Scratchのブロックを組み立てる
| master numbersTable numbersPosition commonParts toShowParts toHideParts |
"assume there are sprites named 'master' and 'separator', then run inside ScratchStageMorph"
(self sprites
reject: [:x| {'master' asUTF8. 'separator' asUTF8} includes: x objName]) do: [:x | x delete].
master _ self sprites detect: [:x| x objName = 'master'].
numbersTable := #(