Blog

STEM Tuesday — Coding– In the Classroom


This month we’re focusing on coding. On our booklist, coding includes how to program computers, careers as a coder/programmer, and cryptography or secret codes.

This week is Computer Science Education Week, so it’s a great time to explore ways to incorporate coding ideas into lesson plans, scouting activities, and home learning. (Plus, it’s really fun.)

I tried to read the books like a codes and coding novice. This was a bit of a challenge. Prior to writing children’s books, I spent 15 years programming embedded computers (the microchips that go inside things like phones), often working with elements of cryptography.

Support Independent Bookstores - Visit IndieBound.orgCoding Games in Scratch
by Jon Woodcock (2019)
You don’t approach this like a typical book. Rather, you work your way through it, alternating between reading and coding. It’s very easy to follow, providing a great introduction to MIT’s fabulous free coding system, Scratch. This book doesn’t just cover coding, though. It includes ideas behind game design like themes, difficulty, and playability.

Support Independent Bookstores - Visit IndieBound.org
Video Game Coding
by Janet Slingerland (2019)
The title of this book may be a little misleading. It doesn’t teach readers how to code video games. Its purpose is to introduce readers to careers in video game coding. It looks at how many people work on a game, what kind of code they use, and a what the general process is.

 

Support Independent Bookstores - Visit IndieBound.org

Can You Crack the Code?: A Fascinating History of Ciphers and Cryptography
by Ella Schwartz, illustrated by Lily Williams (2019)
I love this book. It follows the history of secret codes, from Julius Caesar to modern day internet encryption. I found the explanations easy to understand, and there are lots of examples to put your understanding to the test.

 

As always, I have way more ideas on this subject than I have time and space to provide them. I’m going to restrain myself and give you a few things to explore and consider here.

For additional resources and ideas, you can check out the coding page on my website (http://janetsbooks.com/my-books/coding) and my STEM for Kids Pinterest board (https://www.pinterest.com/janetslingerlan/stem-for-kids).

Hour of Code

If you’ve never heard of Hour of Code or haven’t taken a closer look, I encourage you to do so. Code.org and HourOfCode.com have resources for students, educators, and more.

Hour of Code activities are generally designed for beginner coders. They cover a variety of coding languages and platforms.

The activities are searchable by many different variables: grade, time to complete, topics (including social studies and language arts), and available technology.

There are even activities that require no computers or other devices, just filter on “No computers or devices”.

If you want to host an Hour of Code event, you can find help to do so here: https://hourofcode.com/us/how-to.

Explore Scratch

Many of the books on this month’s list use Scratch. There are several reasons for this.

Scratch is free language, provided and managed by MIT (Massachusetts Institute of Technology). If you need to work offline, you can download a Scratch program. But if you have a reliable internet connection, you can work solely online – no program download needed.

Scratch is a block-coding language. Coders choose blocks of code they customize to create a program. The blocks are designed to fit together like puzzle pieces. This takes away the syntax errors that programmers of text-based languages run into.

It’s designed as a sharing platform, so Scratch coders can learn from and be inspired by other coders. They can also easily share their coded creations with other Scratch users.

Many of the Scratch resources online encourage users to explore Scratch in a freeform manner. This can be rather intimidating for some new coders. Following the projects in one of this month’s books introduces users to Scratch. Once they get comfortable with Scratch, they are more likely to explore new ways of using the platform.

Like Hour of Code, Scratch has project ideas that focus on different areas like art, music, and stories: https://scratch.mit.edu/starter-projects.

Escape Room Challenge

As the current state of things has moved much of our lives online, virtual Escape Rooms have become very popular. There are many escape rooms out there to try. But how about challenging young readers and coders to create their own?

Designing an escape room can put into use computer coding ideas, game design elements, development processes, and cryptography skills. The experience will give young developers a taste of life as a video game designer/coder.

There at least 2 free platforms that could be used to develop an escape room – Google Forms and Scratch. Here are helpful resources for these.
Scratch: http://scratched.gse.harvard.edu/sites/default/files/pdf-escape-the-room-scratch-draggable-using-lock-button.pdf
Google Form: https://www.bespokeclassroom.com/blog/2019/10/4/how-to-build-a-digital-escape-room-using-google-forms

Developers will follow the basic process described on page 29 of Video Game Coding. They can use the secret codes described in Can You Crack the Code? and consider the game elements discussed in Chapter 1 of Coding Games in Scratch.

Pre-Production

Plan out the stages of the escape room, including the puzzles and/or challenges players will face. This is the pre-production or design stage of video game coding. The platform will determine the level of design required.

The first decision is what theme to use. The escape room could be based on a favorite book, character, or fictional world – like Harry Potter, Pete the Cat, or Star Wars. This could also be an opportunity to create new characters, stories, and worlds.

How many levels will there be? What are the challenges players will face? Make sure each challenge makes sense to get the player from one level to the next.

This is a creative process that mirrors fictional story writing. Characters need to be developed and worlds built. The progression through the levels is the plot. Challenges should work with the chosen world, character(s), and plot.

How are players working through the escape room – individually or in teams? Does that change what the challenges look like?

If coding in Scratch, are players represented on the screen? If so, what do they look like and what are they able to do?

Production

Once the overall story and challenges are planned out, it’s time to move on to the production stage. This is where designers create the art, puzzles, and code needed to turn the escape room into reality.

In Coding Games in Scratch, readers learn to code a little then test a little. Build a part of the game, then try it out to make sure it works correctly. This is a great way to develop a game or program. It helps identify where problems are by keeping the testing area small. It also helps ensure programmers don’t incorrectly use a coding element throughout an entire program.

Post-Production

Once the initial escape room is put together, it’s time to move on to the post-production phase.

The escape room needs to be tested. Each path through needs to be checked for errors. This is often one of the most tedious portions of coding and game development. Once the designers have done their testing, it’s time to get a beta tester.

Beta testers are new to the game. Can they understand how to start and how to progress through the challenges? If not, the designers may need to add additional instructions or learning steps.

Beta testers may move through the escape room in a way the designers didn’t anticipate. This can highlight other errors or omissions that need to be corrected.

Each time a designer makes a change, they’ll need to test out everything to make sure they’ve solved the problem without introducing any new ones.

Release

Once designers are confident their escape room is working the way they want, it’s time to release it to a broader audience. Invite classmates, friends, and family to try out them out.

This would be an excellent time to have a celebration. Developing something like this is a lot more work than people realize. Finishing is a huge accomplishment.

Explore More

I hope this has given you some ideas for exploring coding. There are so many more out there. I hope you take the time to explore and code.

**********************************************************************
Janet Slingerland in LondonJanet Slingerland has written more than 20 books for children, including several about coding. To find out more about Janet and her books, check out her website – http://janetsbooks.com – or visit her on Facebook, Twitter, or Instagram.

Heartdrum Imprint

Heartdrum logo

As we (finally) see the shining light of a new year on our horizon, it’s time to welcome the launch of a Native focused imprint: Heartdrum. The HarperCollins initiative will publish only Native creators and will be led by award-winning and New York Times bestselling author Cynthia Leitich Smith (Muscogee Creek), and Rosemary Brosnan, Vice President, Editorial Director, HarperCollins Children’s Books.

Heartdrum logo

Beginning in January, their launch list includes  Ancestor Approved, an anthology of stories that take place at an intertribal powwow, edited by Cynthia Leitich Smith, and The Sea in Winter by Christine Day (Upper Skagit).

For more about Heartdrum, read our upcoming December 9 interview with Cynthia Leitich Smith, in our new series We Need Diverse MG (WNDMG)

We Need Diverse MG

Artwork by Aixa Perz-Prado

 

 

Presidential Pets

I will admit I got super excited when First Lady-elect Jill Biden recently mentioned a cat would be joining the family in the White House, along with two German Shepherds. While I love all our furry, feathered and finned friends, cats hold a special place in my heart.

I can’t tell you much about Bill Clinton’s campaign for President back in the 1990’s but I sure remember everything about Spot. I was actively nervous the poor little thing would get lost in all those rooms. I mean, cats are really good at hiding.

Thinking about this potential presidential kitty sent me down the research rabbit hole (no pun intended) of pets that have called the White House home. Did you know John Quincy Adams kept an alligator in the bathtub? Or that Theodore Roosevelt had a bear cub (and a one legged rooster) and James Buchanan called an eagle his best friend? Lincoln had goats. And Andrew Johnson had a soft spot for the mice that would scurry underfoot (it was 1865 and there were many mice).

So for those who want to go a little deeper, a few titles concerned with presidential pets. All descriptions from Amazon or author website.

Presidential Pets: The Weird, Wacky, Little, Big, Scary, Strange Animals That Have Lived In The White House, by Julie Moberg


Did you know that John Quincy Adams kept an alligator in the bathtub, while Thomas Jefferson’s pride and joy was his pair of bear cubs? Andrew Jackson had a potty-mouthed parrot, and Martin Van Buren got into a fight with Congress over his two baby tigers. Find out all about the weird, wacky, little, big, scary, strange animals that have lived in the White House.
Perfect for election year collections and displays. This rollicking, rhyming look at the animal residents of the White House introduces each set of pets with a funny verse along with cool facts and presidential stats. This trek through history will delight any animal-loving kid.

 

 

 

If You Want a Friend In Washington: Wacky, Wild and Wonderful Presidential Pets, by Erin McGill


President Truman famously said, “If you want a friend in Washington, get a dog.” And a dog is what many presidents got. From James Garfield to Calvin Coolidge to Richard Nixon, presidents often found a friend in Fido (in fact, Abe Lincoln’s pup was actually named Fido). Others preferred cats, horses, small critters, or even big, ferocious animals like bears and alligators. With a catchy refrain (“If you want a friend in Washington . . . , “), this is a funny, educational book about the animals that have passed through the White House. Whether it’s favorite dogs like Barbara Bush’s Millie or the Obamas’ Bo; Abraham Lincoln’s cat, Dixie; Calvin Coolidge’s hippo, Billy; or Andrew Jackson’s foul-mouthed parrot, Poll, Erin McGill brings to life a menagerie of presidential pets in this entertaining, whimsical, and carefully researched picture book that’s perfect for animal lovers and history buffs alike.

 

 

Unleashed, by Ronald Kidd

Alongside the politicians and dignitaries, some crazy pets have lived in the White House. In this story the father of Tipp’s beautiful brave and loyal owner Alastair has been elected president of the United States and some people think Tipp is not the right dog for the White House. The friends travel back in time and discover the White House has always welcomed four-legged friends of all kinds. From alligators to cows, unique pets abound in the White House history.

 

 

 

 

 

First Dogs: American Presidents and Their Best Friends, by Brooke Janis and Roy Rowan

(This is not a kids book exactly but the photographs are sure to delight any age audience.)

“If you want a friend in Washington, get a dog,” Harry Truman once said. Perhaps that’s why, for much of our Republic’s history, there have been two top dogs at 1600 Pennsylvania Avenue—one with two legs, one with four. First Dogs, by distinguished journalist Roy Rowan and researcher Brooke Janis, tells the whole doggone story, from the days before there was a White House to Barack Obama’s newly adopted presidential pup, Bo.