Inspiration
After watching a movie last night about WW2 and submarines, we were inspired to create something related to sonar while pursuing our love for gaming.
What it does
This game utilizes an ultrasonic detection mechanism that we created on our own. This mechanism rotates an ultrasonic sensor 180 degrees in real life and detects objects within a set range. These objects are then created in-game as enemies in the sonar screen that the user has to defeat by shooting at them.
How we built it
We used Arduino to create the mechanism itself and python libraries like Pyserial to communicate from the Arduino to Python. The game itself is made in Pygame.
Challenges we ran into
Our biggest challenge was trying to compensate for the lag caused by communication between Arduino and Python.
Accomplishments that we're proud of
Our mechanism, Cuteboi, is sturdy and surprisingly functional if the lag, of course, is ignored. All members of the team contribute their strengths in creating the music, hardware, and graphics for the game, our brain child.
What we learned
We learned that Pygame lags a lot.
What's next for The Trench
We plan to reduce the lag to make the game more playable. We would like to add different levels of difficulty that have different spawn rates for enemies and more background skins for an extra touch.
Log in or sign up for Devpost to join the conversation.