Trivia for Charity app!
Our inspiration for Trivity was to create a fun and entertaining way for people of all ages to learn about modern health and how the environment concerns our choices today. As a motivational source, a donation is made to charity based on correctly answered questions.
Trivity has five different categories of trivia, Medical Conditions, Environment, General Health, Food Wastage and Animal Cruelty/Veganism. The user can pick a category and answer a series of 10 true or false questions which will lead to a pop up message alerting the user of the donation made thanks to their contributions.
We built Trivity using Swift in Xcode.
It was hard to understand the logic on how to set up the project. At the beginning, we weren't sure how to set/link all the different pages together, and how to set a template page and edit that in the code.
With our hard work along with help from the mentors, we made a fully-functioning app, and overcame many challenges and learned a lot more than we normally would in these past 24 hours!
We learned how to control Swift segue buttons along with their actions, and set up a template UIViewController which we later manipulated in the code to set to specific values stored in an array of questions.
The next step for Trivity is to redirect the user to their specific charity's website after clicking "Yes!" once they are done with the quiz. We would also like to implement a backend so users can store their progress and donations in their individual personal accounts.