ScratchData LogoScratchData
Back to AlSweigart's profile

Sierpinski's Game

ALAlSweigart•Created October 1, 2015
Sierpinski's Game
9
7
364 views
View on Scratch

Instructions

Click three times on the stage to set the three points of a triangle. The program continues from there. You can shift-click the Green Flag to engage Turbo Mode to make the drawing happen faster. The rules of Sierpinski's "Game" are this: 1) A drawing dot starts at one of the points. 2) Randomly select one of the triangle's three points. 3) Move the drawing dot halfway to that point. 4) Make a dot where the drawing dot is. 5) Go to step 2. If you keep doing this, eventually a Sierpinski's Triangle is formed.

Description

Learn to program games with this free online Scratch course: https://inventwithscratch.com/class

Project Details

Project ID79820216
CreatedOctober 1, 2015
Last ModifiedMay 16, 2018
SharedOctober 1, 2015
Visibilityvisible
CommentsAllowed