GRADE 6 · COMPUTING · UNIT 1 · LESSON 1.15
Computational thinking and programming
Build a one-round choice game
Learn the idea, try your workbook and explain your thinking.
LET’S LOOK, THINK AND TRY
Build a one-round choice game
One-round game: use 1 = rock, 2 = paper, 3 = scissors. Rock beats scissors; scissors beat paper; paper beats rock. Equal choices give a draw.
- Build a one-round choice game.
- follow the practical steps or paper alternative and record evidence.

Plan the job before writing the program
Decomposition breaks a larger problem into smaller tasks. A useful plan states the input, processing, output and expected behaviour of each part. An interface lets the user give input and understand output. A prototype is an early model for trying an idea; it does not have to be a complete program. Agree the rules, sketch the interface and decide how each requirement will be tested.
Work through the example: Build the complete main script
Start a blank Scratch project. Keep one sprite named Referee. Create P, C and Result for all sprites . Create a custom block Judge with no inputs. This main script calls Judge once; its definition is on page 3. JOIN labels include a trailing space.

Why this helps: Decomposition breaks a larger problem into smaller tasks. A useful plan states the input, processing, output and expected behaviour of each part. An interface lets the user give input and understand output. A prototype is an early model for trying an idea; it does not have to be a complete program. Agree the rules, sketch the interface and decide how each requirement will be tested.
Try it before the workbook
What does this prototype play?
Use the explanation to choose a reason. This first workbook question helps you check that you are ready.
Explore the clues
Open one card at a time.
Remember the idea
Decomposition breaks a larger problem into smaller tasks. A useful plan states the input, processing, output and expected behaviour of each part. An interface lets the user give input and understand output. A prototype is an early model for trying an idea; it does not have to be a complete program. Agree the rules, sketch the interface and decide how each requirement will be tested.
Check your first try
One round per green-flag start
One-round game: use 1 = rock, 2 = paper, 3 = scissors. Rock beats scissors; scissors beat paper; paper beats rock. Equal choices give a draw. P stores the player choice; C stores the computer choice. Both must be whole numbers from 1 to 3. Paxa and Sami build the core result logic before adding extra animation. This original project needs one sprite and no downloaded costumes.
Explain with evidence
This version assumes an allowed numeric reply. Its prompt gives guidance, but the program does not yet reject other input. Complete the core game before proposing an extension.

Think safely with Paxa!
Use the supplied examples and a paper simulation first. Ask a grown-up before using a device or creating an online account. Never share passwords or private information.
Use the actual records and labels to explain your answer.
Our Unit 1 learning path
- Lesson 1.1: Read and explain a flowchart
- Lesson 1.2: Trace branches and repeated steps
- Lesson 1.3: Build an animation from a plan
- Lesson 1.4: Test and repair a decision plan
- Lesson 1.5: Combine programming ideas
- Lesson 1.6: Reason about loops, text and time
- Lesson 1.7: Build a small dialogue program
- Lesson 1.8: Test a clock and improve its rules
- Lesson 1.9: Define and call reusable routines
- Lesson 1.10: Trace routines and shared state
- Lesson 1.11: Build a quiz with reusable feedback
- Lesson 1.12: Coordinate sprites and test reuse
- Lesson 1.13: Plan a program and its interface
- Lesson 1.14: Trace choices before programming
- Lesson 1.15: Build a one-round choice game
- Lesson 1.16: Test a plan and improve a prototype
- Lesson 1.17: Evaluate against clear success criteria
- Lesson 1.18: Choose a systematic range of test data
- Lesson 1.19: Build and test an input-checking loop
- Lesson 1.20: Repair, retest and report improvements
- Lesson 1.21: Connect device inputs, variables and outputs
- Lesson 1.22: Act out a variable-controlled game
- Lesson 1.23: Build a button-controlled higher-or-lower game
- Lesson 1.24: Test device state and improve feedback
- Lesson 1.25: Build and evaluate a two-level quiz
For grown-ups: using this lesson
Explore the explanation and model together, then try the workbook. Your answers are checked in your browser. Open responses need grown-up review and are shown separately from the automatic score. Check your work, then use “Retry answers to practise” to revisit mistakes while keeping correct responses.
Opening or checking a page does not complete the lesson. Choose “Mark lesson finished” when ready. Optional account progress saves the selected grade, lesson position and completion across devices. Personal workbook responses remain in this tab; save your copy before leaving. Use fictional data and supervised devices; do not share passwords, contact details or real personal records.
2. Fill in your workbook
Read each page’s explanation and use its own diagrams, labels and supplied records. Choose, write or draw. Use Answer list for larger controls.
Opening your PDF…
Swipe sideways across the worksheet on a small screen, or use “Answer list” for larger controls.
You’ve completed the checked activities.
TAKE YOUR PRACTICE OFFLINE
3. Download the student worksheet
All 7 original A4 student pages, ready for pencil-and-paper practice. Choose Review Answers to check your work on this webpage.
Student worksheet only · PDF · 8.4 MiB · No answer key included
TRY FIRST, THEN CHECK TOGETHER
Download the student worksheet →4. Answers & guidance
Finished your try? Open the guide and compare one worksheet at a time. Your own words may be different and still explain the right idea.
Shown on this webpage only. There is no answer-key download, and this guide is left out when printing the page.
Show answers for all 7 worksheets
Worksheet 1
- Question 1: What does this prototype play? c) One round per green-flag start
- Question 2: What should be stored once for each round? c) The computer choice C
Worksheet 2
- Question 3: How many random values are chosen in one round? 1
Worksheet 3
- Question 4: For P = 3 and C = 3, what does Judge store in Result? Draw
Worksheet 4
- Question 5: Where must Judge be defined for this call? a) On the Referee sprite
- Question 6: What does the ASK prompt itself guarantee? c) It asks for input; it does not validate the reply
- Question 7: For P = 2 and C = 1, what result is expected? User wins / player wins
Worksheet 5
- Question 8: What result is expected in test A? Computer wins
- Question 9: What result is expected in test B? User wins / player wins
- Question 10: What result is expected in test C? Draw
Worksheet 6
- Question 11: What is the final result for that recorded test? User wins / player wins
- Question 12: How many separate output messages are printed by the main script? 3
- Question 13: Which action restores normal random play after fixed tests? a) Put PICK RANDOM 1 TO 3 back in the SET C block
Worksheet 7
- Question 14: Give three tests: one draw, one user win and one computer win. State P, fixed C and each expected result. Examples P1,C1 Draw; P1,C3 User wins; P1,C2 Computer wins. Any three explicit correct pairs covering all three result branches accepted. Explain that SET C is temporarily fixed to make each test repeatable. Grown-up review.
- Question 15: Propose an invalid-input improvement and one test that would check it. Accept validate P against allowed choices1,2,3 before Judge; reject or ask again for an invalid reply, without playing the round. Example input4 or banana should show a clear correction prompt and no game result until a valid input. Distinguish proposed behaviour from the current prototype. Grown-up review.
Curriculum & workbook reference
- Cambridge Primary Computing Learner’s Book 6 — pages 52–66
- PaxaKids Grade 6 Computing Lesson 1.15: Build a one-round choice game — pages 1–7
Computing for your homeschool day
Explore Planning programs with this free Grade 6 Computing lesson. Read one idea together, try the fillable workbook and return to review at your own pace. Download the same student worksheet PDF for pencil-and-paper practice.
Fit learning around your family’s day. There is no timer and no sign-up is needed to use the lesson. An optional account saves your lesson position and completion across devices. Workbook responses and drawings stay in this tab; save a copy of your responses before leaving.
Understand your results
Your answers are checked in your browser. Open responses need grown-up review and are shown separately from the automatic score. Check your work, then use “Retry answers to practise” to revisit mistakes while keeping correct responses.
Choose Review Answers after trying the activity. The guide stays on the webpage; the worksheet download contains only the student pages.
The book pages identify the related teaching or assessment. These explanations, projects, review activities and student workbooks are original PaxaKids companion materials. These activities include paper alternatives. No separate publisher Workbook or proprietary digital project files are needed.
