MiGarden - Grow your sustainable lifestyle!
MiChoice: The MiGarden app encourages you to make sustainable shopping choices by rewarding gameplay as well as real life rewards.
MiChoice: Redeem your sustainable purchases for increasingly valuable items for your virtual garden
MiGrow: Plant saplings, manage irrigation and fertilizer, and remember to keep redeeming your purchases for additional rewards
MiGefühl: Get rewarded for connecting with your friends! For every tree you manage to grow to maturity, Migros will plant one in reality.
Our team of computational scientists turned gamedevs.
The top secret source code
Project management tool makes the team collaboration more productive
Most people got used to buying products with a high cost-efficiency. However, high cost-efficiency for human-beings does not necessarily mean the same for our environment. Although the products in Migros have been assigned a Klima check, Tierwohl check, and other labels, customers easily ignore them during the shopping. To remind people of our environment while shopping, we have designed an interactive game, named MiGarden, in which people can collect Environment points (EP) by shopping for environment-friendly products. The environment points can be used in the app to grow a garden and gain rewards for their efforts.
What it does
After shopping in Migros, customers will get a QR code on their receipt in which the information of the goods is recorded. Using the MiGarden App to scan the QR code, one can directly see the EP corresponding to each product and their sum. Then they can transfer the points to their virtual garden to sow, fertilize, or water different plants. Once the trees are fully grown, people can redeem their score for e.g. a real apple in Migros, or to plant a tree in the real world.
How we built it
Before spending time developing the app, we had brainstormed and discussed thoroughly which platform/library we should use. We ultimately came up with the following stacks as they are all open-source, user-friendly, and widely used in the community:
- Backend: Python 3, MongoDB
- Frontend: TkInter
- Special libraries: OpenCV, PyInstaller, NumPy
We also believe that anyone who is interested in our app would be able to extend the functionality and add more features with a small learning curve.
Want to give it a try? You can install our app easily using
pip (a Python package manager) to install our code from https://test.pypi.org/project/migarden/, just run the following commands in your terminal:
$ pip install -i https://test.pypi.org/simple/ migarden $ migarden
Challenges we ran into
We had many good ideas for this App, but the limitations on time only allowed us to finish the skeleton.
Accomplishments that we're proud of
We love the idea of a MiGarden app. Though virtual, it gives people the real fulfillment of seeing their trees grow, while giving them the opportunity to address the real environmental problems. Moreover, the MiGarden app functions smoothly and is able to interact with and give the best experiences of gamification to the users.
What we learned
It was the first time we cooperated on a time-limited challenge. We learned how to clearly distribute the workloads and to communicate more effectively. We also learned about several techniques in data cleaning and data analysis with a real-world database.
What's next for MiGarden
We would be very happy to welcome anyone interested in the development of the MiGarden to join our team. Here is a to-do list of what can be improved that you could contribute :)
- Improvement of user interface/experience
- Implementation of multiplayer and multi-platform.
- Extension of libraries of plants and rewards.