Scratch Jr and #CSEdWeek2020

Last week, December 7-11, was #HourofCode week. I’ve been making my school participate in Hour of Code since 2014 (it’s 2nd year in existence). This year was different (as all things in 2020). While we are lucky to have in-person classes, I am not able to see every class, every week. I was planning to extend Hour of Code for the last 2 weeks before Winter/Christmas break. Monday started with my virtual library code club and I had many sessions of coding planned at school but then things changed and we learned we were switching to a hybrid model for the next (and last) week of December, so in the end maybe half of the school participated in #HourofCode. I have plans to include more coding in the new year.

On a positive note, all students now have a school-issued device. The Kindergarteners and 1st graders have iPads (the 2-4th graders have Chromebooks) so I have been able to introduce Scratch Jr this fall to the all of the 1st graders. I had planned to get to the Kindergarteners during December but I’ve pushed those plans into 2021.

I wasn’t able to get the original Scratch Jr on the iPads but I was able to have PBS Scratch Jr installed. I’ve taught Scratch Jr to 1st graders in past years, sporadically and in groups with shared devices, so it was exciting to try a whole class model.

I looked at the ScratchJr.org curricula for inspiration. For an introductory lesson my goal was to introduce the layout of the app – Sprites, background, coding area – and how to put blocks together. They seemed to quickly pick up the concepts so I gave them the task of adding a character (Sprite) and coding it with a start block (Green flag) and 4-5 blue motion blocks.

Three animated characters (lesson 1)

Once they had that they could add another character and animate that Sprite, too. After we had 3 Sprites I showed them how to make it fullscreen and play their movie. The set up in the 1st grade classrooms allows me to mirror my iPad on the projector screen up front, which really helps when trying to demo and maintain 6 feet distance from the kids. It was more difficult to get them to share their projects to my iPad without assistance. But the simple opportunity to see their project on the big screen was worth the effort.

Student projects shared via Airdrop to my iPad

Then next lesson (or maybe the third) was the race project from ScratchJr. That was a big hit, as was the Meet and Greet. I also showed them the repeat and repeat forever blocks during one session this fall.

Example repeat and repeat forever student project

One of my favorite projects was the family project I did with one 1st grade class for Thanksgiving. I showed the students how to put their photo in the faces of the faceless Sprites and after that asked them to create a project about their family.

For #hourofcode, most of the first grade classes got one or two of these projects. In the one 1st grade that I see the most, the teacher and I wanted to try a more math themed project – which I’ll write about in another post.

Other highlights of #CSEdWeek2020 include math games (of course)

4th grade math games for Hour of Code 2020

and making maze games with a 4th grade class – one work session was on our full remote day, but that went okay. I quickly rewrote this maze instruction doc and printed it out for the students prior to that remote day (for our hybrid model, Wednesdays are full remote days, the other 1/2 of the student attend school).

4th grade maze game for Hour of Code

For 2nd graders and 3rd graders I posted #HourofCode activity links to their websites. One new activity this year that the students really enjoyed was Google’s Code Lab from their Santa Tracker site. (Of course that leads students to play other games on that site, but they are all fun. Santa Selfie is a favorite.)

There’s more to add but I’ll end this now and post more later!

If Math Games, Then Hour of Code

Computer Science Education Week is upon us and my first batch of 4th grade Scratch math games are shared.  More will be completed tomorrow.  3rd graders have also been working on math games within my Scratch teacher account. I need to post those on our school website, too.screen-shot-2016-12-04-at-7-39-55-pm

I’ve been noticing a subtle misconception showing up with how my student are using the ask and answer blocks in their math quiz games.  When introducing the ask and answer block, I state that the two blocks work together. I talk about how the ask and wait is a Sensing block and is waiting for the user to type something and that something is held by the answer block.  I specifically say that these blocks come in a pair because I’ve had other issues with students type “answer” in the operator instead of using the answer block.

screen-shot-2016-12-04-at-7-26-27-pm

 

This year, I guess, the students have more complicated scenarios with multiple Sprites in play.  They set up one Sprite to ask the question.

screen-shot-2016-12-04-at-8-20-58-pm

and another Sprite to face the consequences of a right or wrong answer.

screen-shot-2016-12-04-at-6-57-26-pm

The logic seems okay unless you realize that other Sprite is not waiting for the input.  That is subtle for them to understand.

I realize that the answer block is a global variable and can be separated from the ask block. The code below works on a separate Sprite from the one asking.

screen-shot-2016-12-04-at-8-08-30-pm

However, my solution for the students was to create two broadcast messages: “correct” and “incorrect”. The broadcast event block is a powerful tool and a good block to get to know. Fourth grade teams were able to work on separate Sprites and code the ask/answer decisions in one and the receive broadcast events in the other and put them together to make cool projects.

screen-shot-2016-12-04-at-7-38-18-pm

 

Then, of course, there is what happens when you show a certain 4th grader how to make random math fact variables:

screen-shot-2016-12-04-at-6-54-49-pm

Yikes! I’m not sure how Scratch does it, but I love the fail soft aspects that make this a super awesome programming platform for kids.

More about Hour of Code as the week progresses.  I’m really looking forward to the week’s events.

3rd Grade Scratch Game Makers

Screen Shot 2015-12-20 at 9.31.58 PM

The 3rd graders that have been learning Scratch really came through during Computer Science Education Week and produced 11 goofy and wonderful little math games.  Last week we took the time to reflect and give feedback.  I am really impressed with their coding and want to jot down the lessons that occurred so I can repeat this again if I get the chance.

Here’s the list of lessons:

1. Intro to Scratch (Sprite, Stage, events, move, looks) -the basics introduced, time given to explore.

2. Etch-a-sketch (more events, pen)

3. Trick or Treat (if-then-else, ask-answer)

4. Draw Your Initial (coordinate system, glide, pen)   -for this lesson I had in mind to teach the Scratch coordinate system where (0,0) is the center of the screen.  I had them pick a Sprite of their choice and code it to glide around in the shape of their first (or last) initial.  I modeled gliding in a square while they followed first.Screen Shot 2015-12-20 at 9.04.32 PM

I handed out half sheets with the scratch grid on it so they could draw out their initial, figure out the coordinates then add the glide blocks.  Pen down and repeats were added at the end for extra flair.

5. Math game design outline (design sheet)

6. Math game coding (Pair programming)

7. Sharing and giving feedback

My expectation was that they’d code one math questions with two different outcomes like the Trick of Treat lesson.Screen Shot 2015-12-20 at 9.32.12 PM

Only this time they were working in pairs and had to come up with their own theme and math question.  They worked on it for almost two math sessions and then I put them up on the Scratch website.

Screen Shot 2015-12-20 at 10.01.57 PM.png

 

Last week they got to play all the games and give each other feedback. One student thought they were going to get to rate the games and he declared he always gives bad ratings to online games.  Instead I handed out sheets for them to give each game “2 stars and a wish” (This is something I came across in a FutureLearn MOOC on Teaching Computing)

20151220_214303.jpg

Giving good feedback is actually a lot of work.  I asked them to play each game twice, one time get the math question correct and then play it again and give the wrong answer.  Then they had to find two things they liked about the game and one thing they wished it would do differently.  I enjoy this feedback part of the game making.

Oh yeah, 4th graders made math games, too. What a difference a year and a bit of Code Club does to the complexity of the games made.  They also worked on giving 2 stars and a wish feedback this week.

Like a Dream

I taught so many hours of code yesterday that I dreamed in code.  (It was the only way to move in my dream.  Thanks Anna & Elsa.)

Code.org puzzle with Frozen characters

Code.org puzzle with Frozen characters

But it was an awesome day.  Three classes of Hour of Code 2014 activities from Code.org, Tynker, & Code Kingdoms for 2nd and 4th graders plus two classes of Scratch and then Code Club after school.  A few 4th graders were with me for couple of these hours, too. I wonder if they dreamed about coding too?

For Computer Science Education Week, or “Hour of Code” week, I had the 4th grade math group I work with write math games in Scratch.  The project idea comes from the Scratch resources on Computers for Creativity‘s website.  The students were paired up and given two math periods to work on the project.   I showed them the two math games that students had made last year:

4th grade math quiz game in Scratch, 2013

4th grade math quiz game in Scratch, 2013

Screen Shot 2014-12-11 at 8.28.20 PM

4th grade math quiz game in Scratch, 2013

I handed out a one page project outline form and a print out of the guidelines to each pair.

Math Scratch Project Outline – Google Docs

With not very much time to work on it, I warned them to keep the project simple.  Get the game working with one math question, then build on it. I also made sure there was a Code Club member in each pairing, so at least one person had some knowledge of Scratch. I then I let them go.

I set their teacher up on Scratch online and he started a math game himself.  That was Monday.  Yesterday my plan was to have them finish up. My friend and co-worker in this class suggested they might need more time.  She had gone home and tried to make a Scratch math game and had some questions.  (How cool it that?  I’ll have to give both adults their “Hour of Code” certificate.)  But it is true,  I did give the students a big, creative project and only a little bit of time to do it.  From what I saw on Monday, only a couple of pairs were making their game too complicated and or not working well together.  We decided to conference with the each pair during the period to see if they had questions, needed feedback and as a general check-in to see if they were going to make the deadline.  First, though, the students “conferenced” and helped their teacher with his math game.

By the end of math on Wednesday, most of the groups were very close to having a working game.  We decided another half period might be warranted.  Then we’ll share them and try them out.

I heard one student say this coding stuff was great and he wanted to sign up for the next round of Code Club.

Oh, yeah, Code Club was great too. Everyone busy working on their own games.  Recording their voices.  Being successful, or at least satisfied, in drawing their sprites and backgrounds. I really enjoy troubleshooting Scratch projects and seeing all the creative and interesting ideas these 4th graders have.  My volunteers are really great, too.