Inspiration

I was inspired by the movie The Martian, on the Martian, the main character was stranded on the moon and left to fend for himself while managing the available resources he has.

What it does

My program is a program that simulates the change of resources over time. It monitors Oxygen, Energy, and Water. You start off with 100% and incidents happen over time like meteorite strikes, oxygen leaks, water contamination, etc. The user has to successfully manage these resources by skipping to the next hour, repairing the solar array, or recycling resources. This program is for practicing simulations on the moon.

How we built it

I used the Java language and programmed in Android Studio where I then created a GitHub Repository.

Challenges we ran into

I struggled with keeping my code logical, when something is repaired, percentages increase, however they couldn't go over 100. Small things like these were difficult for me.

Accomplishments that we're proud of

I was proud of how it came out overall, I believe it looks cool and successfully simulates the situation.

What we learned

I learned about using sleep in Java.

What's next for EcoLuna

Adding your own starting values into the program.

Built With

Share this project:

Updates