Scoreboards and Levels: Utilizing Variables in Game Development with Scratch

Опубликовано: 27 Февраль 2026
на канале: 1Question
364
0

With 1Question installed, kids watch educational videos and answer quiz questions to earn screen time in their recreational apps e.g. games, social media, etc.
Download 1Question and get started for FREE now ► bit.ly/40Gwkev
For more content from 1Question, subscribe to our YouTube channel ►    / @1question468  
----------------------------------------------------------------------------------
Transcript
When playing digital games, we like to know how well we are doing. This might be completing level or scoring points. In Scratch, we can use a variable to create a scoreboard or change the level of the game. In the Variables tab, we can make our own variable. We type in what we want it to be called, so I'm going to have Score. This, then, puts a score panel in the top corner. I can then add my variable to my conditional coding. So, if my answer equals October, which is the correct answer, I want the score to go up by one. So, I'm going to choose Change My Variable by One. Click on the My Variable part and change that to Score. Change Score by One, so if the answer is correct, the score will go up by one. Let's test it out to make sure it works. Press green flag to start. What month comes after September? I input my answer, October, press the tick, answer was correct, the sprite move forward, the score has gone up by one. Head on over to scratch.mit.edu to have a go at creating your own variables. You could make the level change after five correct answers. You could make the score go down if the answer is incorrect. Have fun!

#microlearning #kids #kidslearning #kidslearnworld #kidsvideo #coding #codinggames #programming #programmingforbeginners #scratch
----------------------------------------------------------------------------------
Sample Questions
Here are some example of questions about this video that kids may be asked in the 1Question app to earn screen time:

How can a scoreboard be created in scratch?
By using a variable
By adding another sprite
By changing the backdrop
By using an output

What could the score do if the answer was wrong?
Go down
Go up
Disappear
Change colour

Does the variable have to be added to the conditional coding?
Yes
No

Could a variable be added to the else section of the code?
Yes
No
----------------------------------------------------------------------------------
About 1Question
► 1Question was created by parents for parents, knowing that the average child (8-12 years) spends around 4 hours a day on screens. With the 1Question app, kids earn recreational screen time by learning. Much like sneaking vegetables into a cake, 1Question is sneaking micro-learning moments into your child’s screen time. Our award-winning app gives parents control over screen time by setting a study-to-playtime ratio and delivering Micro-Courses to kids. This video lesson is one from a science Micro-course available in the 1Question App.
Get started for FREE now ► bit.ly/40Gwkev
Watch how it works ► How 1Question Works - Kids Learn to Earn Screen Time
----------------------------------------------------------------------------------
Want more 1Question?
► Facebook:   / 1questionmobileapp  
► Instagram:   / 1question.app  
► TikTok:   / 1question.app  
► Twitter:   / 1questionapp  
► LinkedIn:   / 1question  
► Website: https://1question.app/
► See 1Question in the Press:    • Press