1 of 9

1.3 - Build Your First Game

Lesson 1.3

Doggo Snack Quest: your first playable game

Name: ____________________

Today's mission: Move the dog with the keyboard, make it eat the apple, and build a score that works.

By the end, you can...

  • Use blocks to control a sprite
  • Use sensing + conditions to react
  • Use a forever loop so the game keeps checking
  • Track score with a variable

Warm-up: Think about games you like. What makes a game feel fun instead of just random buttons?

Answer box

Type your best guess here. No gamer degree needed.

Pro tip: Each sprite has its own code area. If your block is on the wrong sprite, your game may act weird. Weird is fixable.

In one sentence, what is your game goal today?

Answer box

Example starter: The dog will...

Game vibe word:

Answer box

One word.

2 of 9

1.3 - Build Your First Game

Lesson 1.3

Level 0 - Open the project and check your sprites

Start here

1. Sign in to CreatiCode.

2. Open your saved project from last lesson.

3. Dog sprite and apple sprite are both visible.

4. Rename the project so you can find it.

  • I am signed in
  • Dog sprite is visible
  • Apple sprite is visible
  • Project has a clear name
  • I know how to click the green flag

My project name is:

Answer box

Give it a name you would not lose in My Stuff.

Game objective, in your own words:

Answer box

What should the player do to win points?

Sprite brain check: Dog code controls the dog. Apple code controls the apple. They do not share a brain.

Which sprite will you select when adding dog movement or collision blocks?

Answer box

Dog, Apple, or both? Explain fast.

Quick draw: sketch where the dog and apple are on your stage right now.

Answer box

Use words or a tiny sketch.

3 of 9

1.3 - Build Your First Game

Lesson 1.3

Level 1 - Spawn Points: start clean, not chaotic

Green flag = game reset

When the green flag is clicked, each sprite should know its starting position.

The apple can use the “go to random position” block so it pops up somewhere new each time.

Build steps

1. Select the dog sprite and set its start spot.

2. Select the apple sprite and add the random position start block.

3. Click the green flag.

4. Fix anything that starts in a weird place.

Dog start point:

Answer box

Write x/y numbers or describe the spot.

Apple start block:

Answer box

What block did you use for apple placement?

Test it: click the green flag three times. What changed, and what stayed the same?

Answer box

Describe what you noticed.

Mini debug tip: If the wrong sprite moves, you probably placed the block on the wrong sprite. Select the sprite first, then build.

Answer box

One thing I fixed or checked:

What is one thing you fixed or checked?

4 of 9

1.3 - Build Your First Game

Lesson 1.3

Level 2 - Dog collision logic: if this, then that

The big idea: A condition checks if something is true. An action is what happens next.

In this game: if the dog touches the apple, play the pop sound.

IF

a test is true

THEN

do the action

Build it on the dog sprite

Use if then + touching Apple + play sound pop until done. Run it once and listen carefully.

Fill in the game sentence:

IF the dog is touching ________, THEN ________________________________.

Point to the condition. What is the condition checking?

Answer box

Explain it like you are helping a friend.

Why might the pop sound not happen every time yet?

Answer box

A computer only checks code when you tell it to check.

Answer box

Answer box

This code belongs on the ______ sprite.

What is one sound or effect to use later?

5 of 9

1.3 - Build Your First Game

Lesson 1.3

Level 3 - Forever loop: give the dog a radar

A loop runs again and again.

Put the if touching Apple check inside forever so the dog keeps checking for contact while the game runs.

  • Wrap the if block in a forever loop
  • Click the green flag
  • Move the dog into the apple
  • Listen for pop or check feedback

What block goes around the if touching Apple check?

Answer box

Name the loop block.

After adding the loop, what changed when the dog reached the apple?

Answer box

What did you see or hear?

Code Whisperer Trick

Read your blocks out loud: "Forever, if touching Apple, play pop." If the sentence makes sense, your code is probably close.

Debug radar: If nothing happened, what did you check first?

Answer box

Wrong sprite? Green flag? Forever loop? Touching block?

6 of 9

1.3 - Build Your First Game

Lesson 1.3

Level 4 - Apple Teleport Trick

The apple gets its own script.

When the green flag is clicked, start at a random position. Forever check if it is touching the dog. If it is, jump to a new random position.

Apple behavior

Touch dog → teleport

No touch → stay put

Green flag → new starting spot

This script belongs on which sprite? Explain.

Answer box

Dog, Apple, or both?

What should happen to the apple after the dog touches it?

Answer box

Describe the teleport behavior.

Prediction: If you accidentally put apple reset code on the dog, what weird thing might happen?

Answer box

Make a smart guess. Weird bugs count.

Checkpoint

The apple should jump to a new place every time the dog reaches it. Test it at least three times.

Answer box

My three-test result:

7 of 9

1.3 - Build Your First Game

Lesson 1.3

Level 5 - Scoreboard Power-Up

A variable is a value that can change while the game runs.

For this game, score starts at 0 and goes up when the dog eats the apple.

Build the score

1. Make a variable named score.

2. Set score to 0 when the game starts.

3. Change score by 1 when the dog touches the apple.

4. Test that it increases once per apple snack.

My score variable is named:

Answer box

Most people use score.

Score starts at:

Answer box

What number should it reset to?

Where did you put the change score block?

Answer box

Which sprite and which part of the code?

What score did you reach?

Answer box

Score:

Answer box

One thing that made scoring tricky:

One thing that made scoring tricky?

8 of 9

1.3 - Build Your First Game

Lesson 1.3

Playtest Lab - Bug Smash Edition

Real game designers test a lot. Your first version is supposed to have bugs. The win is finding them and fixing them.

COMMON BUG MENU

  • Wrong sprite selected
  • Forgot to click green flag
  • if block is not inside forever
  • Apple script is on the dog
  • Score changes in the wrong spot

Bug I found or almost found:

Answer box

Name the bug. Be honest - bugs are data.

Fix I tried:

Answer box

What did you change?

Playtest rounds

Round

What happened?

Fix or next step

1

Answer box�

Answer box�

2

Answer box�

Answer box�

3

Answer box�

Answer box�

Final check before submitting:

  • Game starts with green flag
  • Dog moves with keyboard
  • Apple jumps after touch
  • Score resets and increases
  • Project is named, saved, and shared

Answer box

PROJECT LINK:

9 of 9

1.3 - Build Your First Game

Lesson 1.3

Boss Battle - Customize, share, reflect

Pick ONE extension if you finish early

A. New sprites or background

B. Apple/dog changes size during play

C. Snake-style growth effect

D. Victory sound or message when score hits a target

E. Your own idea, approved by the teacher

Extension I picked:

Answer box

How it changes gameplay:

Answer box

What feels different for the player?

Show it off

Answer box

Paste a screenshot of your game here or write what it shows.

One block category I used today and why it mattered:

Answer box

Motion, Control, Sensing, Sound, Variables, etc.

One bug I beat today:

Answer box

What went wrong, then got better?

One upgrade I would add next time:

Answer box

Dream big but keep it possible.