Inspiration
Those around us – and ourselves – often make wasteful decisions that damage the world. Our project, Earth’s Final Hour, was created to educate children about the impact they cause to their environment and teach them to make sustainable choices at a young age.
What it does
Our game starts off with the character in the kitchen, where they can select from a variety of food items to eat. When any of these items run out of stock, the character is asked to head left to the garage to drive to the store for more food. They may also watch TV, change their attire, take a shower or bath, and so much more that an average human does daily! However, as the character does these actions, what they don’t realize is their environment slowly degrading, as shown by the natural habitat in the window, which transitions from a thriving grassland to a smoke-filled, arid land to one that’s overloaded with damaging factories. Once the player uses a certain amount of CO2 or water, the game is over and they learn about how much harm they’ve brought to the environment. They’re then encouraged to play the game again to live a more sustainable lifestyle with the newly received tips.
How we built it
We created all of our sprites and images on PixilArt and used the Eclipse IDE to code. We first created classes for each of our objects (such as Food, Character, Background, etc.) then implemented them all into the Frame class, which runs the code. Here we have all of our if statements, checks for collision, and paint methods, which is how our code works.
Challenges we ran into
One challenge we ran into was creating the food objects. We considered making a subclass of the Food class for each food item, but with a few tests and debugging, we realized that it would be more efficient to have one Food class and determine which item to display based on a parameter input.
Accomplishments that we're proud of
We are proud of using eclipse to code a game for the first time. Though it was tough, we worked through the problems and eventually accomplished our goals.
What we learned
We learned a lot of new java concepts and methods that could be used to create a fun user-friendly game. We also learned more about github and eclipse since this was the first time most of us really used it.
What's next for Earth's Final Hour
We would like to add more features to the game that have interesting effects similar to the ending, which can be displayed during the game. We also hope to improve the game design and mechanics to make it as user friendly as possible. Perhaps we can allow more customization to the characters or let the players choose where they want to drive to, and add more objects humans use on a daily basis

Log in or sign up for Devpost to join the conversation.