Skip to content
Your progress

Checking your sign-in…

Who's learning?

Each profile keeps its own read lessons, badges, streak, and practice scores on this device.

Lesson 5 of 8

Plan it before you build it

Show on a big screen

5 min

Text size

A game shows a wrong score at the start. A step is missing or in the wrong place.

Two cards: Show the score, then Set score to 0.
Step 1 of 3
  1. Two cards: Show the score, then Set score to 0.
  2. That order has a gap. Nothing set the score yet.
  3. Swap them. Set score to 0 first. Now it works.

A plan lists the steps of a game. Writing it first shows a missing step early.

Rule: A plan puts each step after the step it needs.

Show the score only after you set it. Before that, the box may hold an old number.

In this game, the score goes up only on a tap.

Tap a step. Move it up or down. Watch the score.

Loading lab…

Try the lab to finish this lesson.