Shooting Star was inspired by the arcade game, Cyclone, in which a light moves around in a circle and the objective is to stop the light at a certain location by pressing a button. Our love for this game as children and our love for computer science inspired us to recreate a similar concept while also adding our own personalized touch to the game.
What it does
Shooting Star is a game that has a series of lights in a circular formation. The lights continuously light up in a consecutive circular motion at a fast rate with different delays. When the Leap Motion senses a closed fist, the light will go around and the arcade music will play. When the user opens their hand, the light will stop along with the music, but when the hand re-closes, the lights and music will resume.
How we built it
Shooting Star was built with Arduino and Leap Motion. Arduino was used to control the brightness of the LED lights and the tune of the background music (arcade theme song) by programming on the Arduino online platform. Leap Motion was connected to the same computer in order to sense the hand motions of the player. Additionally, the Leap Motion was programmed to play sound. This means when the hand opens, the arcade sound will stop, but when the hand closes, the music starts again. To get Arduino to correspond with the Leap Motion, the two programs were run simultaneously and were connected through bluetooth. In addition, much of Shooting Star was built with everyday objects. A pizza box was used as the base for Shooting Star, and a paper plate was used to hold the lights in place.
Challenges we ran into
There were several debugging errors that we faced when using Arduino and Leap Motion. We first encountered the issue of trying to connect the two platforms together so the motion of the hand from the Leap Motion would stop the light from continuing to circulate. Eventually, this challenge was resolved by connecting the two through bluetooth and running them simultaneously.
Accomplishments that we're proud of
We are proud of being able to create a working finished product while learning how to use Arduino and Leap Motion together in such a short duration. Additionally, we successfully figured out how to add sound onto Leap Motion so that it will correspond with the hand motions made by the player.
What we learned
Building Shooting Star allowed us to further explore various hardwares and languages including: Arduino, Leap Motion, processing, and C++. Since this hackathon was our first hackathon, we were able to gain a more expansive understanding of software and hardware.
What's next for Shooting Star
To further develop the game, we can add additional components like creating a scoreboard to keep track of the number of times the player lands on the correct light. Moreover, we can program the LED lights to brighten in different order to make the game more challenging for the player.