Inspiration

We are beginner coders who wanted to try and design some sort of game for a personal project. We also wanted to expand our knowledge of python as we are both primarily java oriented programmers. With this event we saw an opportunity to get acclimated to the pygame library which is a set of Python modules for game design. The Environmental track was something that we both related too with past experiences related to environmental conservation.

What it does

It is a simple game that pops up where the user can move a recycling bin with the left right arrow keys. The goal of the game is to maximize the amount of recyclable waste and avoid trash waste.

How we built it

Using Python and the pygame library we created with tutorials from websites such as geeks for geeks, stackoverflow, and the pygame API. We utilized use of classes, functions, and OOP in order to curate a game that constantly updates the positions of objects with a while loop that runs till the user quits. We also drew our own images and background and were able to integrate them into the game.

Challenges we ran into

As first-year students, we realized we haven't had a lot of exposure to programming outside of the structure of a classroom/curriculum. We found ourselves getting caught up throughout the process when implementing the functions. Towards the end, we just were not able to put together functions such as a main-menu screen and different modes for different types of waste.

Accomplishments that we're proud of

We initially had a team of four going into this Hack-A-Thon but things came up for the other members of our team. Admits an incredibly busy schedule, we were able to accomplish a lot in a short amount of time. We're especially proud of our OOP and its ability to randomize, the falling waste, its speed, and its initial position. We also used our own original art and art scheme which provides a personal feel to the project. And on top of all this, in a language we haven't used before and with a library hadn't used till this Hack A Thon.

What we learned

  • Python
  • pygame
  • Applying OOP to a different field
  • Using Github
  • As well as many other things

What's next for Eco-Play

There are so many simple functions that we can put into the game such as music, sound effects, different modes, different menus, and an informational section. With more time we're sure we could've done so much more.

Built With

Share this project:

Updates