Inspiration
I was inspired from this Youtube Video, but I want to make the design more interesting and user-friendly, especially attracting children. I decided to make two themes for this hand-popping game. They have the same programming workflow, but just different assets and design.
What it does
Goal posts/Lampions will be moving around the screen, and the player's goal is to score as many points as they can, to beat the highest score, and their name to be displayed on the leaderboard.
How I built it
Aside from pygame for GUI and game events, the AI Computer vision is powered by mediapipe's hand tracking module, embedded into cvzone. The leaderboard database is managed using Pandas. The series of steps I took into making this project starts from sketching how the game will look like, then collecting image, video, audio, and font assets for the game. Then I started with coding the user interface, followed by adding game events, and integrating hand-tracking with collision events. Finally I implemented the leaderboard system.
Challenges we ran into
Personally, I was confused about how should I present the game to players, but in the end I decided to disable camera display and just made the design like a regular computer game, but this time it gives the impression of being magically controlled by your hand. For programming challenges, at first, I faced the problem of Low FPS, but after optimizing the code, and removing unnecessary processes, I managed to get around 30 FPS in the end.
Accomplishments that we're proud of
I am proud to be able to display my game in my school's exhibition recently. Many people were amazed at the technology used, and mentioned that the game is unique, because it can be virtually played.
What I learned
This is actually the first ever game I created, and I learnt about using pygame library with integration of AI. I learnt about managing different scenes and events in a game. Furthermore, I learnt about code optimization, and designing friendly user interface.
What's next for Hand-Popping Game
In the future, players can select the preferred theme before playing the game, and I plan to make this game online and multiplayer, with a shared leaderboard, so users all around the world can download my game and play to compete for the highest score.
Log in or sign up for Devpost to join the conversation.