Inspiration

We were inspired to create this game by the sustainable prompt and the popular game Cookie Clicker. As we were thinking of game ideas, we focused on simple topics and inspiration, and we landed on a clicker-based game.

What it does

Our project is a clicker game where you buy upgrades and investments to earn GreenCoins, the main currency in this game. Each upgrade is based on a sustainable invention, and it increases the amount of GreenCoins you get per click. Each investment is also based on sustainable ideas, and they have a chance of either winning you money or losing you money.

How we built it

We built this project using Python and Pygame, which did slow down some development, but it ended up making this project easier since most of us are good Python developers. We programmed it using a shared replit on replit.com, and we split up different parts of the coding for different people.

Challenges we ran into

We were challenged while working on this project since all of us are new to HackMHS. It was difficult for us to combine different parts of the code that we worked on, since some of us made our code overly complicated, which led to many future problems with variables. Another challenge was that all of us have different areas and levels of expertise, so some of our code did not fit well together.

Accomplishments that we're proud of

We are proud of being able to successfully make buttons in Pygame and program them to function since we were new to that topic. We were also proud of successfully being able to make working upgrades and investments, as well as make them fit the theme of sustainability. We also were able to cooperate very well when coming up with ideas and coding together.

What we learned

Everyone learned at least a little bit of Python and Pygame since that language was the one we used in our game. We also learned how to work together and program as a group, which can be difficult when you are new to code.

What's next for SustainabiliTree

If we choose to make this hopefully successful project into a real game, we can improve it and remove bugs from the code to implement it into an application or website. That probably won't happen since it is a simple coding project by middle schoolers, but we could be able to make it into an app.

Built With

Share this project:

Updates