Search Header Logo
Adding Randomness to Pacman Game in Scratch

Adding Randomness to Pacman Game in Scratch

Assessment

Interactive Video

Other, Social Studies

KG - University

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

The video tutorial guides viewers through adding a ghost to a Pacman game, focusing on making the ghost move randomly within a maze. It covers setting the ghost's starting position, creating variables for direction and distance, and ensuring the ghost changes direction upon hitting walls. The tutorial emphasizes unpredictability in the ghost's movement and introduces programming concepts like subroutines to streamline code.

Read more

10 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

What is the main goal for the ghost's movement in the Pacman game?

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

3 mins • 1 pt

How can the ghost's starting position be set in the game?

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

3 mins • 1 pt

What method is suggested to ensure the ghost moves in a random direction?

Evaluate responses using AI:

OFF

4.

OPEN ENDED QUESTION

3 mins • 1 pt

Explain how to create a variable for the ghost's direction.

Evaluate responses using AI:

OFF

5.

OPEN ENDED QUESTION

3 mins • 1 pt

What should be done if the ghost hits a wall during movement?

Evaluate responses using AI:

OFF

6.

OPEN ENDED QUESTION

3 mins • 1 pt

Describe the process of making the ghost's movement unpredictable.

Evaluate responses using AI:

OFF

7.

OPEN ENDED QUESTION

3 mins • 1 pt

How can the ghost's rotation be restricted in the game?

Evaluate responses using AI:

OFF

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?