Inspiration
We decided to go along with the hackathon theme of music, and because we're all Aggies, we went with a Texas A&M theme and used Aggie Yells. And because Aggie Yells are sung at football games, we made a small game.
What it does
This program created a soundboard which plays multiple Aggie Yells and the Aggie War Hymn using a menu. It also includes a game in which a character is controlled using the arrow keys on a football field.
How we built it
First we imported pygame and tkinter so that we could use functions that allowed us to create the buttons and to find, retrieve, and play files in the computer. We used a file.get() function to retrieve a file along with others for the location, and then created a dictionary variable with the yell names as the keys and the lyrics as the values. Because the key is the name of the mp3 file we made it so that whenever a yell was retrieved (the button was clicked) the lyrics of the corresponding yell was displayed on a large maroon rectangle we created.
Challenges we ran into
A challenge we ran into was an exception error with tkinter, and another issue was with having our .mp3 and .img files in the right place so the program could access them..
Accomplishments that we're proud of
Solving the problems and errors we were stuck on. Also, rewriting our programs to make it simpler and more efficient than before.
What we learned
How to retrieve files from a computer using python to play and use them, and importing modules and using their functions.
What's next for Aggie Yells Soundboard
Adding more yells and songs, and making it look visually appealing.
Log in or sign up for Devpost to join the conversation.