Curriculum
Free — no account neededAbout 6 min

Change your first code

You will change one number and move a square on the screen.

No prior experience assumed. This is the first lesson of the New Game Developer path.

Change your first code

You will change one number and move a square on the screen.

Step 1 of 5
about 6 min

See what you are about to do

The picture below is called the preview. It shows what your code draws.

The blue square is sitting near the left edge.

Your goal: move it to the dashed target box.

Press Run to start your program

The blue square starts at the left. The dashed box is where it should go.

No account needed for this lesson. You'll only be asked to sign up when there's progress worth saving.