Are you good at logical games?

Name some ways that playing games can help to maintain and improve your memory.

Build this brain game.


Meet the ‘Game Master’. It will read the colours in the brick ‘candy sticks’ that you feed into it!

If you have enough time, build your own design.

Player 1, where’s your red brick?

SPIKE Life Hacks Braingame Step03-Program - en-au

Play this program. It will use an array to detect the position of the red brick in the first candy stick. 

Red is given the number value ‘9’.

Player 2, where’s your red brick?

  • Assemble player 2’s candy stick (now you should have 2 different candy sticks).
  • Program the Game Master to display the red brick’s position on the Light Matrix.
  • Use one array for each candy stick in your program.

Is it in the same position?

Shuffle the bricks in both candy sticks.

Create a program that will play a sound if the red bricks are in the same position in both of the candy sticks.

Play a code breaking game!

Shuffle both candy sticks again.

Create a program that will tell you when the positions of all the bricks in both candy sticks match.

Check the ‘hint’ for the rules of the game.

Think about how you did.


What did you do well? Is there something that you could have done better?

Wow! That was a mind-blowing life hack!