

This app was a project for my Course "Workshop 6C - Mobile Experience" back at FHNW. We were supposed to create a Android App with Kotlin and Jetpack Compose.
Plantagotchi is a mashup between the famous Tamagotchi from 1996 and a Plant. You are responsible for your plant. You have to water it, give it fertilizer and make sure it has enough daylight to grow.
Plantagotchi uses the Users current location to make use of the weather at the current location. Depending on the the weather in real life, the weather in the app will be set.

Also the app checks for current time. If it's daytime at the users location it is day in the app or if its night outside, in the app is also nighttime. The sun and Moon are set depending on current time.

The Weather and Time have a direct impact if the user needs to give fertilizer or water the plant. Also the user should not forget to expose the smartphone to direct sunlight. We measure with the brightness sensor how many lux currently come in and then we set the daylight counter. If any of the 4 stats drops below a threshold, the plant begins to wilt unti lit dies. If you perform well, the plant will grow.
For the Weather simulation we have implemented a particle system that can simulate up to 10_000 particle at the same time, without impacting the apps performance.
We also had begun implementing a Shop where you can buy new pots, colors, buying fertilizer and so on, but we did not completed this feature. Also we did not came up with a solution how you generate coins to buy the stuff in the shop. This can be an improvement if I pick up that project again.
You can find the source code for the app here: