# Make a Clock

8-10 yrs old

Computer Science

Build a clock in Minecraft by using command blocks with the testforblock and setblock commands. Then build a minecart ticker to keep time.

18
Submitted By: Minecraft Education

April 22, 2019

#### Skills

• Creativity
• Critical Thinking

### External References

Supporting Minecraft world file.

Rubric

### Learning Objectives

• CCSS.Math.Content.3.MD.A.1 Tell and write time to the nearest minute and measure time intervals in minutes. Solve word problems involving addition and subtraction of time intervals in minutes, e.g., by representing the problem on a number line diagram.

### Guiding Ideas

Build the Clock Yourself Before Starting This Lesson

Note: Before you start this lesson, you should know that one of the reasons why this is such a fantastic lesson is that there are so many computer skills involved, however, if you have a class new to computers, they will learn a lot but move at a much slower pace. Teachers should definitely build a clock on their own so they can help with the troubleshooting and debugging that can come with any coding lesson. Don’t worry, this is a pretty easy machine to make, and what better way to learn about time than to build a clock?

Observe the clock

Simply set the clock running on a projector and have the students make observations about what is happening. Guide the students to figure out that the clock is read like a digital clock but with stacks of blocks instead of numbers. Ask questions like:

a. What time is it?

b. What time will it be in 5 minutes?

c. About what time is it? (round)

d. How many blocks are in the 1s, 10s, and hours columns when it flips?

e. How do you think the machine works?

Students will take notes and make sketches in their notebooks.

The Big Idea: There is 60 minutes in an hour and 12 hours on a clock.

### Student Activities

Build the Clock

Put students into groups of three and have them enter their own flat world.

Put one student on the each of the columns.

Student 1 will build and code the 1s column.

Student 2 will code the 10s column.

Student 3 will code the hours column.

They will work together to debug and watch the videos attached with this lesson to guide them with any help they might need.

Tutorial Videos:

Command Block Clocks Intro

Clock Interface

Coding the 1's Column

Coding the 10's Column

Coding the Hours

Clock Ticker

Debrief

1. How many bases does the clock use?

### Performance Expectations

Depth of Knowledge 4

The student did all of the following:

1. The student was able to build a clock that keeps time like a digital clock. (3.MD.1)

2. The student was able to explain three bases are used for time; hours are base 12, minutes are in base 60, and the ones column for the minutes are base 10. (3.MD.1)

3. The student was able to add and subtract time. (3.MD.1)

4. The student was able to use impulse and repeat command blocks.

5. The student was able to use the testforblock and setblock command.

6. The student was able to copy and paste with a keyboard.

Depth of Knowledge 3

The student completed five out of the six listed above.

Depth of Knowledge 2

The student completed four out of the six listed above.

Depth of Knowledge 1

The student completed two out of the six listed above.

#### Skills

• Creativity
• Critical Thinking

### External References

Supporting Minecraft world file.