This is a super fun (and silly!) activity to get kids thinking about the problem-solving skills needed to code. Teaching kids to code starts with the very basics. Preschoolers and early elementary school kids can start to apply the basic concepts of programming. This activity is great for kids age 4+!
I love any chance I get to try out some screen-free coding activities, especially in the summer months when we love to be outdoors. Hands-on learning for kids has so many benefits and this activity puts some coding concepts for kids to life.
Coding Concepts for Kids
At its core, computer programming involves making computers do things. If I write ABC, the computer will do XYZ. This is the essential skills that we are going to be learning today! Even if your child NEVER uses code in their future, the problem-solving skills you get from coding are helpful in any field!
In this activity, we will be using the concepts of sequencing and logic to get your ‘robot parent’ to the water ‘spray zone’ squares. For the advanced version, we will have a chance to ‘write code’ and learn from our mistakes by ‘debugging’.
This easy STEM activity for kids requires basically NO PREP. All you need is some sidewalk chalk and a water squirter. Having the water squirter was definitely the motivation for my son to participate! He’s otherwise pretty adept at figuring out when the ‘fun games’ I’ve planned are actually sneaky ways to help him learn math or science 🙂 When I told him that this game involved bossing mommy around and spraying me with a water gun he was PRETTY DARN EXCITED.
What You Need
How It Works
One person is the robot parent (MOM, in this case!) and one person is the ‘programmer’.
The programmer has to direct the robot using simple commands to the ‘spray zone’ squares where they get to spray their parent with water. WAHOO!
How to set up this activity
Draw out a 6×6 square grid on your driveway. It doesn’t need to be pretty. You can adjust the number of squares to suit the size of driveway or pavement you have. It could also easily be done on a sidewalk.
Color in a few of the squares in white or blue. These are the SPRAY ZONE squares. When the robot lands on these squares the programmer gets to spray them with the water squirter!
Fill up the water squirter from a large bucket of water. Or use a water gun that has a tank to fill.
Coding for Kids Video Instructions
How to start
The robot can start anywhere on the grid. The programmer then has to direct the robot to land on one of the SPRAY ZONE squares. The programmer can only speak in ‘code’, meaning that they have to tell the robot EXACTLY how to get there (one step forward, two steps back etc).
Examples of Commands:
- Take x steps forward
- Take x steps backward
- Now Turn (easy version, the parent will only turn in one direction)
- Turn left
- Turn right
Mommy Robot duties
Being a robot is tough work! My son loved it when I used my best robot voice to tell him ‘I DO NOT COMPUTE’ when he wasn’t speaking in ‘code’. My husband went full out with his arms straight out in a robot stance and that actually helped my son to understand the direction the robot was facing.
- The Robot can ONLY move forward and turn in one direction
- The programmer should tell the robot to move x steps forward, then turn (as many times as needed to get the robot facing in the right direction), then x steps forward to hit the target
- Create less SPRAY ZONE squares
- The robot can move forward, backward, turn left and right
- The programmer needs to direct the robot to the splash zone squares
- Challenges understanding of LEFT and RIGHT
This activity can be made harder with the following modifications
- “Write The Code” – The programmer has to give the ENTIRE sequence in advance.
- ‘DEBUG’ – If the program given to the robot didn’t work, the programmer will get a chance to figure out what went wrong and ‘debug’ his code
The Objective of The Game
When the robot makes it to the colored square the programmer gets to squirt the robot with a water gun. This is the reward for completing the programming, and is a lot of fun on a hot day!
On the day we did this activity, there was an approximately ZERO % chance that my son was going to cooperate with me as the programmer. At age 4, he is probably a bit on the young side for acting as a robot and he also isn’t a huge fan of getting squirted with water (just loves to squirt us, SIGH!). This is something we are going to work on because I believe turn-taking is an important skill to have!
There are lots of ways to modify this game to suit your needs!
- Chalk only – LAVA squares game: Using red chalk draw a 6×6 grid and fill in at least 5 squares in red. These are the LAVA squares and the idea will be to get from the START to the FINISH without stepping in the Lava. If there’s one thing all kids seem to love, it’s playing ‘hot lava!’
- Silly String – If water guns aren’t your thing, silly string works in place! You can also try confetti or water balloons!
Katie is mom of two rambunctious boys and a self-proclaimed super nerd. With a background in neuroscience, she is passionate about sharing her love of all things STEM with her kids. She loves to find creative ways to teach kids computer science and geek out about coding and math. You can find her blogging at Teach Your Kids Code and in her spare time, documenting her families travels at Tear Free Travel.