Scratch 101 Synthesis Challenge: Create a Simple Digital Clock

Hello and welcome to Scratch 101! In this lesson you will create a simple digital clock which tells the time, in the 24-hour format. If you are unfamiliar with this format, you can read more about it here.

Finished Product:

Understanding the function of the forever loop, variables, and operators.

Graphical Setup:
The graphical template is located here:

This is a synthesis challenge, which means that you will not be receiving the completed code. But, you still have the graphical template. which already contains all the blocks which you will need to complete this project. Use the blocks provided to create a project which functions as a digital clock. 

As was shown in the finished product movie, when the number is in the single-digits it will automatically use the first slot. This is normal, because exception handlers would be necessary to move it to the correct space. 

Common Mistakes:
Make sure that you type in the correct numbers!

Make sure that you have set all of your variables set correctly and applied properly!

Think about how a normal digital clock operates, and then use the variable names to logically line up the digits.

The completed version can be found here:

1 comment: