Scratch Lab 3

My Scratch Projects

Descriptions About Each Problem Scratch

Problem 1

The Objective

Make the sprite move and draw lines as it moves.

My Solution

I attacked this problem by creating one big forever loop, with the conditional commanmds (right arrow, left arrow, etc.) nested inside the forever loop.

Problem 3

The Objective

Create a sprite which takes a word as input and then spells the word back to the user one letter at a time. If the word is longer than 10 letters then the sprite should ask for a new word.

My Solution

Similarly to the last problem, I embedded all my code within a forever loop. I created two variables--- variable: letter, and variable: word. The scratch sprite asks " what's your favorite word?". Once an answer is recieved, the "word" variable is set to the answer. THen, the sprite spells the letter out one variable at a time until the length of word is complete.





Click Here to see my writeup

Click HERE to return to homepage.