Skip to content

updating scratch day 2 walkthrough for activity 1. #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added images/d2_a1_e1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/d2_a1_e2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/d2_a1_e3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/d2_a1_e4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/d2_a1_start.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
58 changes: 48 additions & 10 deletions tuesday_activities/scratch_walk_through.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,56 @@
We're going to learn that the cat follows our directions exactly.

### Blocks for this activity:
* motion - `turn left [] degrees`: ![turn_left](https://s3.amazonaws.com/scratch-blocks/motion_turn_left.png)
* motion - `turn right [] degrees`: ![turn_right](https://s3.amazonaws.com/scratch-blocks/motion_turn_right.png)
* motion - `move [] steps`: ![move_steps](https://s3.amazonaws.com/scratch-blocks/motion_move_steps.png)
* events - `green flag clicked`: runs attached scripts when green flag clicked on stage
![flag_clicked](https://s3.amazonaws.com/scratch-blocks/events_flag_clicked.png)
* pen - `clear`: clears any drawing on the stage
![clear](https://s3.amazonaws.com/scratch-blocks/pen_clear.png)
* pen - `pen down`: draws a line behind the sprite whenever it moves.
![down](https://s3.amazonaws.com/scratch-blocks/pen_down.png)
* motion - `point in direction []`: points the sprite in a direction.
![point_in_direction](https://s3.amazonaws.com/scratch-blocks/motion_point_in_direction.png)
* motion - `turn left [] degrees`: turns the sprite number of degrees left.
![turn_left](https://s3.amazonaws.com/scratch-blocks/motion_turn_left.png)
* motion - `turn right [] degrees`: turns the sprite number of degrees right.
![turn_right](https://s3.amazonaws.com/scratch-blocks/motion_turn_right.png)
* motion - `move [] steps`:
![move_steps](https://s3.amazonaws.com/scratch-blocks/motion_move_steps.png)

### Instructions
Add a series of `move [] steps`, `turn left [] degrees`, and `turn right [] degrees` instructions to a sprite in Scratch:
- Experiment with changing the number of steps you move.
- What happens if you increase the number of degrees you turn right or left?
- Can you make the cat go straight up and and then back to where you started?
- Can you make the cat go straight left or right and then back to where you started?
- Can draw a square?

We are going to start every experiement in this activity with the following blocks script:
![script](https://raw.githubusercontent.com/coderdojoindy/GirlsIncWorkshop2014/master/images/d2_a1_start.png)

**Experiment 1**
- attach a `move [100] steps` block to the bottom of our start.
- click the green flag on the stage... what happens?

![script](https://raw.githubusercontent.com/coderdojoindy/GirlsIncWorkshop2014/master/images/d2_a1_e1.png)

**Experiment 2**
- attach a `turn left [90] degrees` block to the bottom of our start.
- attach a `move [100] steps` block to the bottom of the `turn left` block.
- click the green flag on stage... what happens?

![script](https://raw.githubusercontent.com/coderdojoindy/GirlsIncWorkshop2014/master/images/d2_a1_e2.png)

**Experiment 3**
- attach a `turn right [45] degrees` block to the bottom of our start.
- attach a `move [100] steps` block to the bottom of the `turn left` block.
- click the green flag on stage... what happens?

![script](https://raw.githubusercontent.com/coderdojoindy/GirlsIncWorkshop2014/master/images/d2_a1_e3.png)

**Experiment 4**
- attach another `turn right [45] degrees` block to the bottom of *Experiment 3*.
- attach another `move [100] steps` block to the bottom of that block.
- click the green flag on the stage... what happens.

![script](https://raw.githubusercontent.com/coderdojoindy/GirlsIncWorkshop2014/master/images/d2_a1_e4.png)

**Experiement 5**
- can you make the sprite draw a square?
- can you make the sprite draw a spiral?

# Activity 2

We are going to learn about decisions (`if` blocks) and a little bit about sensing
Expand Down