Island 2

USING CONDITIONAL LOGIC (IF STATEMENTS) IN PYTHON.

Open in Minecraft

Submitted by: Minecraft Education

Updated: March 19, 2025

Learning objectives

Become familiar with the concept of an “if” statement, to make these decisions in Python.

Understand that computers make decisions all the time.

Continue to see the importance of Sequencing, putting things in order, so that the Agent can complete its tasks.

Utilize the following CSTA standards: 1B-AP-09, 1B-AP-11, 1B-AP-12

Build up experience with multiple different approaches using conditional statements: comparing Booleans, comparing integers, using "else" statements.

Continue to develop an understanding of the concept of Decomposition, as students break problems down into codable solutions for the Agent.

Welcome to the Kingdom of the Floating Islands. This mystical kingdom floats high above the world below. Throughout this collection of lessons, students will learn the basics of Python, through a series of themed tasks in each world. Completing these tasks will allow the kingdom to develop further technologically. In Island 2, you will be focusing on decisions in code, specifically “If this, then do this” style decisions.

Lead-in: Explain to students, that this island builds upon the previous work they have done in Island 1. Once again, their agent will be returning, although in this lesson they will be focusing on decisions made in code. Their agent will help them complete a series of tasks that they wouldn’t be able to otherwise complete.

CODING ACTIVITIES: 30-45 minutes

Activity 1: (Weather)

Activity 2: (Mine 1)

Activity 3: (Forest)

Activity 4: (Farm)

Activity 5: (Mine 2)

Activity 6: (Blacksmith)

Completion: Once the student has given the iron ingot to the mayor, the world is complete.  

Completion of all the activities within the world is required.

Educator Guide Island 2
Educator Guide
Island 2 world
World file
French Language Resources
French language resources and accompanying world file.

Skills

  • Creativity
  • Critical thinking