Inspiration
Both of us have plants, but Tuhina especially really likes plants. In her words, "plants are really cool." But all jokes aside, we not only wanted to make a fun (and funny) way to care for plants without risking the death of a poor plant but also one that could remind people to take care of themselves the way they would take care of a (virtual) plant.
What it does
We created mini-game with one objective: keep the ZZ plant alive through various means. You can either water the plant or dry it out in order to keep its water level at an optimal place. The plant's health will either increase or decrease based on the water, and who knows, maybe when you get to a certain health something special might happen...
How we built it
All of this was done in Java using IntelliJ... and with classes. A lot of classes. And with an appropriate amount of sleep.
Challenges we ran into
Since we were both virtual, Tuhina and I had to rely on RepLit to share our code which more often than not led to issues as we tried to combine our codes. It was also the first time we worked on such a complex project with graphics using StdDraw.
Accomplishments that we're proud of
The smoothly changing background that adds a bit of ambience to the mini-game was a very annoying bit to do, but thankfully it ended up working. We're also proud of being able to implement popups and have them disappear after a certain time.
What we learned
We learned how to implement a game loop as well as how to use Java's StdDraw fully.
What's next for A Day in the Leaf
We are going to be continually working on this mini-game as it could use quite a bit of refinement but also new features that we unfortunately did not have the time to add such as the Plant Archive on the menu. After all, it takes much more than just water to either keep or kill a plant.
Log in or sign up for Devpost to join the conversation.