Poetry Generation in Scratch

Fourth graders in Ms. Bradley’s class finished up their Hour of Code projects yesterday and we published their poetry generators in this Poetry Studio.

Screen Shot 2017-12-22 at 7.53.04 AM

These students have been doing quite a bit of poetry work this fall so when I approached their teacher about a Scratch project for Computer Science Ed Week, I had Code Club World’s Ada’s Poetry Generator project in mind.

The students worked in pairs and generated a list of verbs, nouns, adverbs, and adjectives in the classroom before heading to the computer lab.  The next step was to makea stage backdrop in Scratch.  I didn’t want them to use one from the library of backdrops but to create their own.  I showed them how to quickly color fill with a gradient but they all sort of went with lines of color, which looks pretty cool.

Screen Shot 2017-12-22 at 8.21.05 AM

I decided to jump into the middle of the Code Club World project and have them start with creating their lists and coding the poem generator.  I was concerned the papers with the lists of words would disappear before we had a chance to finish up the project.  I was right. We had a snow day on the day they were scheduled to complete the project.  Yesterday, last day before the break, we squeezed in the time to complete the poetry generators.

With the lists already made and the poems coded during the first session, the second work session was aimed at checking their code to make sure everything worked and adding a beginning and an end.  Could you add a second Sprite to introduce the poem generator and give instructions?  Could you some action or music at the end?

Screen Shot 2017-12-22 at 8.14.53 AM

basic poem generation code.



Screen Shot 2017-12-22 at 8.15.23 AM

A beginning, middle, and end.


Then we uploaded the projects to share with the Scratch community.

Some notes on facilitating pair work: I did talk about pair programming before we sat at the computers.  During each session, I would announce “time to switch driver and navigator” at regular intervals, as many weren’t willing to give up control on their own.

Also, don’t give them too much time to work on this or the special effects will outshine the poetry.

Don’t forget to save some time to add instructions, notes, and credits on the project page.  I need to be better at this.

It would have been great to have time to enjoy other classmates’ projects and give feedback, but at least they are posted and shared.

I would do this project again.



Computer Science Education Week

Hour of Code 2017 is here.  I’ve got a lot lined up this week for my school and clubs. There will be Hour of Code activities from Code.org available for all classes K-4 during the week in the computer lab.  In addition, I’ve got plans for some 3rd graders to draw a letter (like the first letter of their name) and learn about coordinates using Scratch.  Some 1st graders will begin using Scratch Jr. to make a winter project on iPads.

Each of the 4th-grade classes is starting a different Scratch project – Math game, Labyrinth and Ada’s poetry Generator, or Beetle Blocks project – print your name.

The library club with be trying out the Virtual Pet project from Scratch tomorrow and my school club will be starting their individual projects.

maze game

Labyrinth – reach the dragon. Don’t touch the sides.

Screen Shot 2016-03-29 at 9.30.23 PM

My Penguin Pet



Name in Beetle Blocks

Screen Shot 2017-03-16 at 8.58.41 PM

Ada’s Poetry Generator Project


I’ve done some of these projects before but I’m hoping to blog about some of the new ones in more detail. This is just a preview of the week to come.