Inspiration

We wanted to make a game that helps people understand how hard it is to lead a city during climate change. Instead of just reading facts, we wanted players to feel what it’s like to make real choices that affect the planet, people, and money.

What it does

Planet50 is a game where you lead a city from 2025 to 2075. Each year, you make a decision like whether to ban plastic or invest in clean energy. Your choices affect three things: the environment, public approval, and the economy. The game changes based on what you do.

How we built it

We made the website using HTML and JavaScript for the front part players see. The back part of the game was built with Python and Flask. Flask helped us organize the code and send random events to the front of the game. The events change depending on your score using a smart system that keeps the game interesting.

Challenges we ran into

While building Planet50, one of the biggest challenges was making sure the game felt balanced. It was hard to make sure all three stats: sustainability, approval, and economy mattered equally and were affected in a fair way. We also had to figure out how to keep the connection between the front end and back end smooth, especially as the number of events grew. It took some trial and error to make sure the game felt dynamic and easy to play at the same time.

Accomplishments that we're proud of

We’re proud that we were able to build a working game that spans 50 years of decisions. We added unexpected events like climate protests, global treaties, and extreme weather that make the game more fun and realistic. We also created multiple possible endings, so players can see the results of their leadership style. Another thing we’re proud of is that our game logic is clean and reusable, which means we can easily add more features in the future.

What we learned

While working on this project, we learned how to build a game that uses both front end and back end technologies together. We learned how to use Flask to create an API and connect it to JavaScript on the client side. We also learned a lot about designing a user experience that teaches something important while still being fun to play. Most of all, we learned how to work as a team to bring a big idea to life.

What's next for Planet50

Next, we plan to add features like save and resume, smarter AI generated events, and maybe even different language options. We also want to bring Planet50 into classrooms, where teachers can use it as a learning tool to help students explore real-world sustainability choices through gameplay.

Built With

Share this project:

Updates