Inspiration
I realized that I need to take back control of my brain. During my free time, I would doomscroll for hours on my phone. At first, I didn't see anything wrong with it because I wanted to be present for what is going on in the world. However, I noticed how overwhelmed I felt after. I read online that scrolling for endless hours leads to feeling severely anxious because most of the content you see is negative information. Also, attaining multiple varieties of content in a day can lead to having trouble retaining information from a short video you saw a couple of seconds ago. With the information I have read, I decided to create an application to help improve my mood and retain memory.
What it does
This project tests your knowledge of various genres you can choose from.
How we built it
I utilized Python to build the project. I created a JSON file to store information and load it into the main Python file. This helps with organization and making the code look neat. I also applied the rich library to implement some style to enhance the appearance.
Challenges we ran into
Initially, I implemented a MySQL database into my code. I thought it would be cool to have a database in my project. I inserted all the data I needed into the database, and everything was fine. However, I realized much later that when other people are trying out my program, they need to have MySQL installed on their machine. I did not know how to resolve this, nor did I have the time. Therefore, I switched to JSON.
Accomplishments that we're proud of
Despite not being able to include SQL in my code, I am happy that I got to learn how to insert data into a table and how to load it into a Python file. Maybe on my next project I will be able to do it.
What we learned
I learned about git commands and how to add my code to GitHub. I also learned how to style my code using the rich library.
What's next for Trivia
I plan to add more genres and include a progress bar.
Log in or sign up for Devpost to join the conversation.