Logo+Programming

media type="custom" key="11183338" align="center"

Programming Games: [] [] [] More Logo Stuff []


 * Assignment 1 || Assignment 2 || Assignment 3 || Assignment 4 || Assignment 5 ||

 fd (number) bk (number) rt (angle) lt (angle) cs - clear screen setpc (number 1-16) - sets pen color setscreencolor (number 1-16) || pu pd ||
 * < Introduction to MSWLogo
 * [[file:Logo.pdf]]
 * __**Assignment 1**__: Movie the Turtle through the mazes
 * Mazes are saved in the **Shared** drive in the **Logo** folder
 * To open a Maze:
 * Open MSWLogo
 * Click on **Bitmap** and click on **Load**
 * Record all your commands for each maze on a separate sticky note. ||< Commands to know:
 * Working With Logo
 * [[file:Logo_Work.pdf]]
 * __**Assignment 2**__:
 * Drawing Polygons
 * Repeat Command
 * [[image:logopolygons.JPG width="481" height="209"]]
 * Draw as a triangle, square, pentagon, hexagon, octogon all on one screen.
 * Remember to draw a triangle repeat 3 [fd 100 rt 120]
 * repeat 3 - because there are 3 sides
 * fd 100 - to move forward 100
 * rt 120 - because 360 ÷ 3 (the amount of sides) =120
 * Make sure to us the PU (pen up) and PD (pen down) commands
 * Get checked off when/if you finish them || repeat
 * media type="custom" key="11281840" ||  ||
 * **Creating Procedures Using the To Command**


 * Type **to triangle** into the command center
 * Type the repeat command for the triangle
 * into the To Mode pop up window **repeat 3[fd 100 lt 120**]
 * Type end
 * Type "triangle" into the command center

to || Assignment 4- Put this in DO NOT copy and paste
 * Assignment 3:**
 * to flower repeat 60 [square rt 6] end
 * to star repeat 10 [lt 60 fd 50 rt 120 fd 50 lt 60 rt 36] end
 * Try these challenges:
 * **//Make a star with more or less points //**
 * **//Make a star with longer points //**
 * **//Can you shorten the procedure? //**
 * **//Can you use variables to create stars with any number of points? //** || setscreencolor
 * media type="custom" key="11361368"
 * Get checked off after finishing the polygons
 * Get checked off after finishing each program after polygons ||  ||
 * Assignment 5

TO STAR :LENGTH :POINTS REPEAT :POINTS [ FORWARD :LENGTH RIGHT 180 - (180 / :POINTS) ] END TO TELEPORT PENUP RIGHT RANDOM 360 FORWARD RANDOM 360 PENDOWN END TO STARRYNIGHT REPEAT 30 [ TELEPORT STAR (RANDOM 100 + 20) ((RANDOM 6) * 2 + 5) ] END

Type in STARRYNIGHT ||  ||