Make a Memory Game 

Test your memory with your micro:bit by programming it to show a series of numbers! You can use the online simulator if you don't have a micro:bit. Try to remember the numbers after the micro:bit has shown them and repeat them to your partner. Record your results to see how you did!

Num Sequence.png
New project.png

1 - Start a new project in MakeCode

Go to "MakeCode.microbit.org" to start a new project by clicking the new project icon above. Click the purple plus box labeled "New Project" to begin.

2- Choose a picture for download

It can be hard to tell if your micro:bit has downloaded your finished project, so choose a symbol to show when the project has downloaded. Try these blocks:

1_basic.png
Start Block.png
microbit_memorygame_step2.png
Need Help_ Heres a Tip.png

3- Make your first sequence

Program your micro:bit to display 5 random numbers between 0-9 when pressing the "A" button. Use another symbol to space out each number and a blank LED screen to show when the sequence is done.  Try these blocks:

1_basic.png
9_Math.png
microbit_memorygame_step2.png
show number.png
Show LEDs.png
microbit_memorygame_step4.png
2_Input.png
microbit_memorygame_step3.png
Need Help_ Heres a Tip.png

4- Make a 6 number sequence

Program your micro:bit to display 6 random numbers between 0-9 when pressing the "B" button. Use another symbol to space out each number and a blank LED screen to show when the sequence is done.  Try these blocks:

1_basic.png
microbit_memorygame_step2.png
show number.png
Show LEDs.png
9_Math.png
microbit_memorygame_step4.png
2_Input.png
microbit_memorygame_step5.png
Need Help_ Heres a Tip.png

5- Make a 7 number sequence

Program your micro:bit to display 7 random numbers between 0-9 when pressing the "A" and "B" buttons. Use another symbol to space out each number and a blank LED screen to show when the sequence is done.  Try these blocks:

1_basic.png
microbit_memorygame_step2.png
show number.png
Show LEDs.png
9_Math.png
microbit_memorygame_step4.png
2_Input.png
microbit_memorygame_step6_1.png
Need Help_ Heres a Tip.png

Hooray! You did it! You made a memory game!

Partner A will read the number sequences aloud as they appear on the screen while Partner B writes them down. Then, Partner A will try to remember the numbers in order. Take turns and try each number sequence setting!

If you need help, click me to see the finished product!

Plus.png