Skip to content
PlayOwl

Coding · Grade 4

Coordinates and Game Events

Fourth graders describe and change a game character's position with x and y, program arrow-key events that move it, add boundary checks that keep it on the stage, and detect when two characters meet (same x and same y) to react with a score or message.

  • 4 lessons
  • About 85 minutes
  • Coordinates and events check: 8 questions
  • Ways to answer: choose an answer, put code in order, trace code, plot points, highlight a text and match pairs
See plans Included with Family, Teacher and School plans. Open in PlayOwl

What learners will discover

  • Describe a character's position with x and y, and predict changes from set and change blocks.
  • Program and trace key events that move a character by changing x and y.
  • Keep a character on the stage with boundary checks after each move.
  • Detect when two characters meet (same x and same y) and react.

Lessons

  1. x and y on the stage 5 steps3 practiceabout 16 min
  2. Moving with key events 5 steps3 practiceabout 16 min
  3. Stay on the stage 5 steps3 practiceabout 16 min
  4. When characters meet 5 steps3 practiceabout 16 min
  5. Coordinates and events check 8 questions at the end

Keep exploring

Games to practice with

More 4th grade coding

Guide for grown-ups