8-10 yrs old
Build a walled fortress around a village using Code Connection and the player agent.
December 5, 2018
World file for student use
Before beginning, students should be comfortable with controlling the movement of their agent and be familiar with the repeat loop. Click here to learn more about agent movement.
A loop allows coded statements to be repeated.
It is often wise to test small code segments first before committing to longer segments or multiple loops.
Working individually, or in small groups, program the agent to build a wall at least three blocks tall and one block wide around the village. Follow the red sandstone foundation to make sure the entire village is secure.
Allow students to build the wall out of any material they wish. They will need to place their block choice in the agent’s inventory before beginning.
They can begin building the wall at any location and work in short or long segments.
They will need several agent commands such as:
They will likely need a loop command as well:
Students needing a little help getting started may benefit from this wall building tutorial.
Students should openly reflect and share their progress, both successes and failures. Encourage students to reach a consensus and support innovative thinking.
Students should be able to answer the following questions:
If time allows, capture and share images of code that did not work and ask students to identify reasons why.
Introduction to Logic Gates
What's the logical password?
Make a Flower Trail Wherever You Go
In this lesson, we will create a trail of flowers for our player ...
Events in Programming
Learn about events and event handlers.
This project shows how you can create a rainbow in Minecraft usin...
Build a coral reef time lapse in a Minecraft world
Build with the agent
10 building exercizes with automatic testing
How to build a Square
Use the companion app MakeCode to a square using blocks of your c...
Creating a magical castle using code
Design various coral reefs with Minecraft and code
Creeper Tower Test
5th Grade Engineering Challenge
Easy gameplay for beginners in coding
NGSS 3rd Grade Science - Forces
4th Grade NGSS Science
Build a Dam
3rd Grade Engineering Challenge
Sensors in Monitoring and Control Systems
Wall Follower Algorithm
Guide the agent through a simple maze
NGSS 5th Grade Science - Earth's Systems
The Wild Robot Escapes
An intro lesson for the book Wild Robot Es
Make it Rain!
In this lesson, we will use the On Chat Command to make it rain i...
Magical Castle2: Zombie Attack
Create a Zombie Attack game in the Magical Castle
BINARY DIAMOND RUSH
How information is encoded into binary code in PC
Ice Fishing Derby
5th Grade CCSS Math
Minecraft version of classic Bomberman game
Surface Area and Perimeter
6th Grade CCSS Math
Fractions Pixel Art
Break down pixel art into fractions.
Find the Button
Great introduction to coding using command blocks
Introduction à la programmation en 2nde
Number Line Railroad
CCSS 4th Grade Math
Mining with the Agent: Part I
Using the Agent for vertical shaft mining
Mining with the Agent: Part II
Further develops concepts of mining with the Agent
Codegame in Icelandic
Agent Guided Book Tour CS, ELA
Students bring together ELA,CS,and design concepts
Shapes From Shapes
Make a shape made out of smaller, equal sized piec
Quadrilateral Capture the Flag
Compare, contrast & define different quadrilaterls
Make a Clock
Students will code a clock in Minecraft.