We were inspired to create a game based on the public health theme. Certain aspects of the game were inspired by various struggles of the COVID-19 pandemic such as the shortage of certain resources, the anxiety of getting the virus, and the creation of the vaccine.
What it does
Our game creates a map that contains the player, arrows, masks, viruses, and the target which is either a toilet paper roll or a vaccine. The game is set in a hospital and each mask you get gives you a point, but if you fall off the board or hit a virus without a mask on, you lose. The board is intentionally randomly generated in order to simulate the unexpected nature of the struggles during the pandemic and the player is also given an option to reset the board. The controls and how to use them are given in the game.
How we built it
We used a free program called LÖVE which is a framework for making 2D games using the programming language Lua. This program is particularly user and beginner friendly making it beneficial to our collaboration.
Challenges we ran into
There were many bugs that came with trying to implement the masks and different stages of the game. To solve this we decided to use a state machine that would track the states of the player and the game and change based on certain inputs and actions to allow the game to run continuously while the player is moving.
Accomplishments that we're proud of
We are proud of being able to come together from a range of different computer science backgrounds to coordinate a collaboration and complete an interactive product that incorporates the theme of the hackathon.
What we learned
We learned that there were many more technical aspects to creating the structure of the game than we expected and that debugging was almost as if not more time consuming than actually coding, especially when collaborating, which resulted in rigorous testing from each member.
What's next for Toilet Paper Run
We believe that our game has a large potential for improvement including balancing the difficulty and randomness and more features such as incorporating a hand sanitizer feature and more player control. There were many ideas that we did not have time to implement but we are also proud of what we accomplished in this short time period.