This time I will show you how to make an interesting game that is based on the arcade game called Cyclone, where the player tries to stop an led scrolling around a circle at a specific spot. The goal of the game is to stop the cycling light when it reaches the indicated (red) LED. If successful, the difficulty level will increase. If unsuccessful, the Game will restart.
The ring consists of 60 LEDs (4 Quarter circle neopixels of 15 Leds). The ring holder is made with a 3D printer and you can download the .stl file below. In the middle of the ring is a strip of 6 RGB LEDs that actually represent the six levels. The basic code is taken from oKeeg's Instructable, and I made a few modifications to make the game even more interesting.
-First I reduced the light intensity of the diodes, because in my version of the game the LEDs are directly visible.
-Then, instead of 40, the ring contains 60 LEDs because I used it from one of my previous projects (LED ring clock).
-I also added two more levels so that the game now has a total of 6 levels.
-The next, very important modification is that I added sounds to the game and now it is much more interesting to play.
-Finally, I made a big Arcade button for much more accurate playing.
The game would need to be powered by a Power supply of 5V/3A or more. This is a very simple project and consists only a few components:
- Arduino nano microcontroller
- WS2812 Led ring with 60 RGB leds
- WS2812 Led strip with 6 RGB Leds
- One transistor
- Buzzer
- And big DIY Arcade button
We can also use the rotary encoder button left over from the previous project. In this case the device is small and compact, but playing with this button is more difficult.
When turning on the game, all LEDs light up with different colors. Now by pressing the button, the game begins. The goal is to press the button at the moment when the rotating diode is located exactly on the static diodes. In the first two levels, three diodes are static, and in the next levels only one. Also with each next level, the diode speed increases, so it is increasingly difficult to press the button at the required moment. With each completed level, one diode from the horizontal row lights up. There are six levels in total, so this row contains six dodes. If we fail to pass the level, the game starts from the beginning. If you pass all six levels, the game also starts from the beginning.
Finally, the device is built into a suitable box made of PVC board and coated with self-adhesive colored wallpaper.