Project Vortex

During the previous 4 blog posts we have been teaching you the skills required to do a Vortex. Let me explain you what Vortex is.

In August my school had a school Fair. We had the idea of making an arcade game to raise money for the school. We wanted to charge for playing the game. If you won at the game you would get prizes. We built it over 3 weeks. The code was part of it. We used the Micro:bit. The physical build took a big part of effort as well. We called the game "Vortex".

The Fair was hard work as we had to be in the stand for 4 hours. More than 100 people came to play but in the end we managed to raise good money for the school. This is a photo of the stand with people playing Vortex


The game is about a light that spins around and you have to stop it in a certain position with a button. The light starts spinning slow and then gets faster with every loop. You get more points for stopping it when it goes faster. This is a video of the game in action



We are going to show you the code of a simpler version. This code keeps spinning at the same speed. It is for a 24 LED strip. As you can see below, the numbers of the LEDs go from 0 to 23 and you have to stop it with button A on the last LED which is 23. But you can change it to whatever you want. You get the happy face if you get it right or the sad face if you get it wrong.


This is a good starting point. You can try to make it better by adding sounds, adding points with variables and change the speed if you want. Let me know in the comments section if you do your own and what changes you made

Comments