A persuasive game to prevent sedentary behaviour, built for Android using Android SDK and Unity game engine. The app gamifies your daily walking activity while also allowing users to create and compete in various challenges. The app was built as a project during the Mitacs Globalink Research Internship at Dalhousie University in Halifax, Canada.
TreeCare uses the metaphor of a flourishing tree with green leaves and fruits to represent someone who is physically active. In the context of this app, a person is physically active if he/she walks or runs daily. If a person does so regularly, he gets more leaves and fruits on the tree, while a tree with no leaf and fruit means zero activity. An empty tree is the default tree.
International Conference Paper Presented at IEEE 8th International Conference on Serious Games and Applications for Health (SeGAH), Vancouver, BC, Canada, 2020
- Unity Game Development Engine for developing the tree screen
- Kotlin as the main programming language
- MVVM Architecture using Android Architecture Components
- Google Fit API for getting step count data of the user
- LiveData, ViewModel
- Navigation Components for easy navigation in the app
- Glide image loading library
- Lottie for adding animations
- Gson for serializing and deserializing objects
- Material Components for implementing the new material design
- Koin for Dependency Injection
- WorkManager for periodic background tasks
- Coroutines in coordination with WorkManager
- Firebase Authentication for Google Sign-In
- Cloud Firestore as the No-SQL database
- Firebase Cloud Functions for syncing data across users in the databse
- Cron Job for triggering cloud functions at a fixed time
- Firebase Cloud Messaging for push notifications
To make the game engaging and fun, three modes are provided: