Course E - Lesson 7 Variables as score
Elementary Game Design Module
How can we use code to keep score?
Score: 4
Elementary Game Design Module
Lesson 7 - Warm U
Elementary Game Design Module
Allows you to see the variable
Score: 0
Score: 4
Start of game
When a point is scored
Elementary Game Design Module
How can we use code to decide when we win or lose?
Elementary Game Design Module
How you win the game
Score: 5
What happens when you win
Elementary Game Design
Lesson 7 - Activity
Level 1 - Explore (Choices)
Elementary Game Design
Lesson 7 - Activity
04:00
Level 1 - Explore (Choices)
Elementary Game Design
Lesson 7 - Activity
Level 2 -Video
How can we keep track of the score as it changes throughout the game?
Elementary Game Design
Lesson 7 - Activity
Level 3 - Read to learn
Do This
- Read about using variables in a game
- Click next to preview steps to adding variables to YOUR game!
Elementary Game Design
Lesson 7 - Activity
Levels 4-10 Skill Building
Do This
- Follow the instructions on each level.
- Read the hints and feedback
score : 0
health: 5
Elementary Game Design
Lesson 7 - Activity
Level 7 - Matching Check for Understanding
Do This
- Drag the code over to corresponding animation
- Click Submit when you are finished
Elementary Game Design
Lesson 7 - Activity
Level 8
Do This
- Read about using a conditional to check for a winning score
score: 0
health: 5
Elementary Game Design
Lesson 7 - Activity
Levels 9 - 10 - Practice with conditionals
Do This
- Code a winning score
- Move the conditional statement to the matching image
Elementary Game Design
Lesson 7 - Activity
Level 11 - Choice
Do This
- Each of these games has a problem with the variables
- Choose a game to debug
- Use what you have learned about variables and conditionals to improve the game.
Elementary Game Design
Lesson 7 - Activity
Level 12 - Free Play
Do This
- Design and develop your own game!
- Add a background and some sprites
- Code sprite behaviors
- Add a variable to keep track of the score or health
- Add a winning or losing condition
Course E - Lesson 7 Meadow Lane
Susan Prabulos
Created on November 6, 2024
Start designing with a free template
Discover more than 1500 professional designs like these:
View
Syllabus Organizer for Higher Education
View
Internal Guidelines for Artificial Intelligence Use
View
Math Mission
View
Simulation: How to Act Against Bullying
View
World Ecosystems
View
AI Diagnostic Survey for the Corporate Environment
View
Video: Keys to Effective Communication
Explore all templates
Transcript
Course E - Lesson 7 Variables as score
Elementary Game Design Module
How can we use code to keep score?
Score: 4
Elementary Game Design Module
Lesson 7 - Warm U
Elementary Game Design Module
Allows you to see the variable
Score: 0
Score: 4
Start of game
When a point is scored
Elementary Game Design Module
How can we use code to decide when we win or lose?
Elementary Game Design Module
How you win the game
Score: 5
What happens when you win
Elementary Game Design
Lesson 7 - Activity
Level 1 - Explore (Choices)
Elementary Game Design
Lesson 7 - Activity
04:00
Level 1 - Explore (Choices)
Elementary Game Design
Lesson 7 - Activity
Level 2 -Video
How can we keep track of the score as it changes throughout the game?
Elementary Game Design
Lesson 7 - Activity
Level 3 - Read to learn
Do This
Elementary Game Design
Lesson 7 - Activity
Levels 4-10 Skill Building
Do This
score : 0
health: 5
Elementary Game Design
Lesson 7 - Activity
Level 7 - Matching Check for Understanding
Do This
Elementary Game Design
Lesson 7 - Activity
Level 8
Do This
score: 0
health: 5
Elementary Game Design
Lesson 7 - Activity
Levels 9 - 10 - Practice with conditionals
Do This
Elementary Game Design
Lesson 7 - Activity
Level 11 - Choice
Do This
Elementary Game Design
Lesson 7 - Activity
Level 12 - Free Play
Do This