Coding With Minecraft - Unit 1 - Introduction
Coding With Minecraft - Unit 1 - Introduction
Unit 1
60 minutes
Single Student
EDUCATION.MINECRAFT.NET
1
THEME OVERVIEW
This unit introduces students to computer science and coding. It provides students
with an overview of Minecraft: Education Edition and Code Builder. It will start
students with coding experiences and introductory tutorials in MakeCode.
NOTE: If your students have experience with Minecraft: Education Edition and
Code Builder, you can skip ahead to Coding with Minecraft: Unit 2 – Events.
LESSON OBJECTIVES
• Learn basic navigation in Minecraft: Education Edition using a keyboard,
mouse, and the WASD keys.
• Become familiar with the interface of the game and MakeCode
• Be introduced to their Agent and the basic Agent moves using the
MakeCode interface
• Begin to understand the concept of Decomposition as students break
problems down into codable solutions for the Agent
• Begin to see the importance of Sequencing, putting things in order, so that
the Agent can complete its tasks
MINECRAFT MECHANICS
C C
Summons the Agent and opens the MakeCode
interface
T T
Opens chat panel in Minecraft for commands to
be typed
ESC ESC
When a student wants to leave the game, leave
chat, or pause the game
2
CODING BLOCKS
On chat command
Runs the code when the student types the
chosen text in the chat window
Spawn
Summons a creature at a given location
Repeat
Runs part of the program the number of
times you say
KEY VOCABULARY
Computer Science – the study of computers and algorithmic processes, including
their principles, their hardware and software designs, their [implementation], and
their impact on society
Minecraft – game-based learning platform with endless creativity and possibilities
Controls – provides the ability to move during game play (will defer based on
devices)
MakeCode – the coding program used in-game to create algorithms
LESSON ACTIVITIES
Direct Instruction (Teacher-Led; “I Do”)
Welcome to Coding with Minecraft, a place to learn all about the basic concepts of
computer science. We are going to spend time learning these ideas in Minecraft:
Education Edition. To help us on our journey, we are going to start off by learning
what is computer science. (slides 1-2)
3
Now, we are going to explore how to play within the game. Have all students log
into Minecraft: Education Edition. After students have logged into the platform,
show how to use the controls to move in Minecraft. Show the video (slide 5) which
is appropriate for devices: keyboard or touch.
You should pause after each step and ensure everyone is with you. Answer any
questions as they arise. After you provide students with the demonstration, give
them time to explore, play, and build within the world.
4
Explain that all of these things are possible because of coding and computer
science. Computers, coding, and computer science are part of lives and impact
almost everything we do at school and for fun, in our personal and work lives. The
possibilities are endless and people who code are figuring out more and more
ways for computers to help us. No matter what you want to do in the future,
technology and computer science will be a part of it. This course will introduce you
to coding and hopefully get you excited about coding—even if you have no desire
to become a computer coder/programmer in the future. Knowing how computer
work and using computer science skills is for everyone!
Having a coding mindset (slide 8) will be important for everyone throughout this
course. Review each of the statements.
In Code Builder, you are able to select from 3 different editors: Microsoft
MakeCode, Python with Azure Notebooks, or Tynker. For this lesson and the rest of
the lessons in Coding with Minecraft, we will be Microsoft MakeCode. The
MakeCode image can be found at the top, with the purple puzzle piece. (slide 10)
Any time you are starting a new project, you will select the green “new project”
button with the + sign on it. (slide 11) Then, students will be prompted to name
their project. For this part, model and ask students to just type in “SAMPLE
PROJECT” into the space and then select the green “create” button to continue.
(slide 12)
When Code Builder opens their new project, introduce the different components of
Code Builder. It is important students know and understand the various names, as
there are specific terms for each of these spaces. Moreover, as you continue
through the lessons, more computer science terms and vocabulary will be
introduced and used regularly. (slide 13)
Slides 14-17 will demonstrate how students will be able to switch programming
languages. Within Microsoft MakeCode, you can code in Blocks (which is what we
will use for the lessons throughout Coding with Minecraft), JavaScript, or Python.
We are going to code our first project! Select “Tutorials” and then select “Chicken
Rain”. Select the “Blocks” version and start the tutorial. (slide 18).
You will see this image of Chicken Rain pop-up on your screen. Select “Ok” to
continue. (slide 19)
Code Builder will support you through the coding activity, “Chicken Rain”. There
are typically three strategic steps to follow: (slide 20)
1. Read the coding task.
2. Use the MakeCode blocks from the toolbox to build your code. Drag and drop
the needed blocks into the coding canvas.
3. Press the green arrow to run your code.
In this tutorial, there are multiple steps. You need to pay attention to various steps
in order to successfully build your code. (slide 21)
If you are stuck, there are the blue lightbulbs—which are hint buttons. These hints
will provide your guidance on how to proceed with the code. However, you should
ONLY use the hints if you are truly stuck. The goal is build our your coding skills!
(slide 22)
Coding Solution:
6
Bonus Activity
If students are finished, have them experiment with coding. Have students try to
make it rain something else or change the position the “rain” falls.
LESSON CONCLUSION
Upon completion of this lesson, students should be able to answer the following
questions: (slides 25-26)
7
EDUCATIONAL STANDARDS
CSTA STANDARDS
• 2-AP-16 Incorporate existing code, media, and libraries into original
programs and give attribution.
ISTE STANDARDS
• 1.4.c Students develop, test, and refine prototypes as part of a cyclical
design process.
8
NAME: _______________________________________________________ DATE: _____________________________
9
What is one reasoning
learning computer science
and coding is important?
10