
In this project, the Puppy feels bored and asks the users what fun activity it should do. Users can choose to suggest fetching, playing hide and seek, or exploring the house. Using cloning, the Puppy can create clones of itself to demonstrate each activity that users suggest. The project emphasizes engaging user responses while keeping track of the chosen activity with variables.


These are the high level steps to create this project. Try to create the project on your own first as much as possible, before checking the detailed solution samples below.
This section provides detailed, step-by-step instructions on how to build the project. There are many ways to create a project, so feel free to explore different approaches. Please note that these instructions are Al-generated, so errors may occur and the coding blocks may not map to Scratch exactly. But it should serve as very valuable references. Stay attentive as you follow along, and enjoy!
Start by creating a Puppy sprite. You can either draw your own or choose one from the Scratch library. Set its initial position on the stage, and choose a costume that represents the Puppy being idle or bored. This will be the starting point of the project.
Use the 'ask' block to prompt the user with a question like 'What should the Puppy do? Fetch, hide and seek, or explore?' Store the user's response in a variable called 'activity'. This variable will be used to determine which activity the Puppy will perform.
Create conditional statements to check the value of the 'activity' variable. Depending on the user's choice, broadcast a message like 'fetch', 'hide', or 'explore'. These messages will trigger the corresponding activity scripts.
For each activity, create a script that responds to the broadcast message. Use cloning to create multiple Puppies if needed. For example, in 'fetch', the Puppy could clone itself to simulate running after a ball. Use motion blocks to animate the Puppy during each activity.
Create a variable to keep track of how many times each activity is chosen. Update this variable each time an activity is selected. Provide feedback to the user by saying something like 'You chose fetch!' or 'Let's play hide and seek!'
It is common to have bugs in the code. Here are some of issues you might run into.
Enroll your child in award-winning online Scratch coding classes led live by experts and designed by professionals from Google, Stanford, and MIT.
Grades K-2
Start coding with ScratchJr, and make interactive stories and gamesGrades 2-6
Code games and animations with Scratch coding, beginner to advanced levelsGrades 5-9
Fast-paced introduction to Scratch coding: build games, stories, and animationsGrades 3-6
Code a new fun Scratch game every weekThe challenge continues: Enjoy even more Scratch tutorials dreamed up by other students or use your imagination to make your own!
Explore your child's grade level to find computer science classes and learning pathways that set your student up for success.