Inspiration
In the Bay Area, trash has recently started to become a bigger issue. Wherever we go, trash is predominately present, which causes many negative environmental issues. The majority of trash ends up in places like oceans and landfills. The trash in oceans can have multiple effects such as: harm to marine life and problems with marine navigation. Trash that ends up in landfills eventually gets burned into the open air, which causes chemicals to be released into the air, leading to many health issues. Our team decided to spread awareness of this situation by creating a game that encourages people to pick up trash.
What it does
A Solo RPG game, controlled by arrow keys. You start off in this plain field and as trash starts to spawn, you must collect it before it drains away your points. Collecting trash will gain you more points, and with enough points you can buy plants and utilities that will help you along your journey to save the environment. Facts about our environment's struggles periodically show up to remind us about the real world.
How we built it
Originally, we ended up utilizing SPRITES and pygame in order to create our miniature game. We were able to assign movement controls, the background, and we based everything on VS code. We then ended up looking into the specifics of some classes and functions online in order to make everything more streamline. We used new imported functions that we did not know about as well as new functions that we did not know were native to pygame in order to bring everything together. After much debugging, we were able to put everything together as we assigned different roles to each person to work on simultaneously.
Challenges we ran into
Some challenges our group ran into were: We all were beginners so we had to learn many functions and we interpreted many new python libraries on the spot. Our group was not able to run the code at first too; since it was only run-able on the computer of one person, which made it more complicated to see where we went wrong. This was also a new experience for all of us as our group has never communicated with each other before this hack-a-ton. We also had to split work based up on what we all knew about coding, and then we further had to self teach ourselves. We had a problem on having the trash image spawn which made it more challenging to have all the other code relating to the trash image implemented.
Accomplishments that we're proud of
Accomplishments we are proud of is completing the code. With the little knowledge all of us had on coding, we did not think we would be able to implement our ideas to a code. we were not able to implement all our ideas into the code such as: the scoreboard, collecting trash feature and accessing the in game shop
What we learned
We learned it is important to use the import function and we learned how implement new libraries. We also learned that it is essential to trust each other so we don’t stress about one part of the code, we also found out that breaks are necessary so we don’t get burn out. We learned how the time function worked and we also learned mainly how to use os.system.
What's next for Saving the Environment
We hope that this causes more people to start respecting our environment in order to make the world prosper. We hope that this game can cause people to reflect on their decisions when they go to litter.
Log in or sign up for Devpost to join the conversation.