Lesson 1-Get To Know mBlock-Lesson Plan
Lesson 1-Get To Know mBlock-Lesson Plan
Objectives
By the end of class, students will be able to…
● identify various ways computer programs are used in daily life;
● define computer programming;
● describe characteristics of a block-based programming language;
● examine an existing mBlock project;
● identify and explain the mBlock workspace;
● create, edit, run and save a mBlock project;
Overview
In this lesson we introduce the concept of what a computer program is through the lense of a computer
game. Knowing that a computer program is a collection of instructions that can be executed by a
computer to perform a specific task; students are asked to play a game with very few instructions or rules
to explain how it works. Students should be able to interact with the game and use logic and observation
skills to develop the instructions and deduce how the game functions. Students are asked to share those
instructions with their peers to validate their learning. Students become familiar with basic commands in
the mBlock software.
Key Focus
● Identify and use the basic features of the mBlock software.
Pre-lesson Checklist
For Teacher:
● A computer with mBlock software installed or access to the mBlock software website
● Slides Presentation: Lesson 1 – Get to Know mBlock
For Student:
● A computer with mBlock software installed or access to the mBlock software website
© education.makeblock.com 1
Standards
● CSTA 2-IC-20: Compare tradeoffs associated with computing technologies that affect people's
everyday activities and career options.
● CSTA 2-AP-13: Decompose problems and subproblems into parts to facilitate the design,
implementation, and review of programs
● ISTE-1D: Students understand the fundamental concepts of technology operations, demonstrate
the ability to choose, use and troubleshoot current technologies and are able to transfer their
knowledge to explore emerging technologies.
● ISTE-5C: Students break problems into component parts, extract key information, and develop
descriptive models to understand complex systems or facilitate problem-solving.
ISTE-6A: Students choose the appropriate platforms and tools for meeting the desired objectives of their
creation or communication.
© education.makeblock.com 2
Lesson Plan
Warm-Up [5 min]
© education.makeblock.com 3
Game Time [20 min]
© education.makeblock.com 4
4. Tell the students that in order to be able to play this game they will need to use the arrow keys
and the space bar.
5. Review the buttons below with students so they know how to start and stop the game.
6. Allow the students to play the Space Adventures for 3 minutes.
1. Create pairs of students to play the game against each other. If you don't have a pair, you can have
students time themselves and see if they can get a higher score.
a) The student with the highest score after one minute will win.
b) If the score is the same, the one with the most health points will win.
c) If the score and the health points are the same, the game will end in a draw.
3. Have the student explain how to play the game to a classmate (parent or sibling).
4. Have the students write an explanation of the game. Use the following to guide the student if they need
additional support.
© education.makeblock.com 5
c) How does the game function?
iv. What are the two numbers that the game store?
BONUS: Give the students instructions for the game to someone that has not played before and see if
they can successfully play the game.
Assessment
● Review the students' work. Were they able to identify and articulate the rules and the functionality
of the game?
2. Use the space key to shoot the cannonball from the Panda’s Spaceship.
3. In the game, you need to avoid or shoot a cannonball to destroy the stars and asteroids . If
a star is shot, the pilot will obtain one point. As the pilot gains points they will grow in size. If the pilot
collides with a star or asteroid, the pilot will be injured, will become smaller in size and will lose health
points. When the health point reaches 0, the game will be over.
4. The pilot needs to collide with or shoot the Red Cross in order to add health points. Every time
the pilot collides or hits one red cross, 10 health points will be added. As health points are added, the
pilot will become larger in size.
Extension Activity
● Share the rules with the student and let the student play the game now they are able to get a
higher score.
● If you could change something about how the game works what would it be?
© education.makeblock.com 6
Background Information - Programs in mBlock
Programming
The Space Adventures game is created through programming. A program is a set of instructions that
can be executed by a computer to perform a specific task.
In the Stage Area, click the Panda sprite to see the program for the Panda sprite in the Script Area.
© education.makeblock.com 7
The Space Adventures game has been programmed using the mBlock software. mBlock is a block-
based programming language. In order to program in mBlock, you must get to know the software.
Use the Space Adventures program as an example to introduce the functions of each area of the
mBlock interface.
Script Area Drag the programming blocks to this area and arrange them to
control the performance in the Stage Area.
© education.makeblock.com 8
Hands On - Programming Practice
Now that you have seen programs in mBlock, and you are familiar with the mBlock interface, let’s create
your first program.
Moving Panda
Instruct the students to write their first mini program using block-based
programming according to the steps below:
2. Click the Sprites tab in the Stage Area to ensure that our
program is added to the Panda sprite.
3. Find and select from the Block Area. Click and drag the
4. Find and select from the Block Area. Click and drag the block to the Script
© education.makeblock.com 9
5. Click the in the Stage Area to run the program and observe the animation in the Stage Area.
© education.makeblock.com 10
Wrap-Up [5 min]
Quiz
(1) What’s the name of the area displaying the game interface when playing Space Adventures?
Answer: B
(3) Which of the following options is wrong about programming?
A. Programming is limited to building blocks.
B. Programming is the process of splicing the instructions that the computer can understand in a
certain order.
C. Apps in mobile phones are developed by programming.
D. Various games can be developed by programming.
Answer: A
© education.makeblock.com 11