Inspiration

We thought about how to use software for the greater good of the public, and how to help students data structures and algorithms since they are extremely important when it comes to basic, foundational knowledge of computer science.

What it does

We decided to build a Discord bot that posts multiple choices questions and users can play a game trying to pick the correct answers. At the end, the bot calculates the user's score total and posts to a leaderboard hosted on a website.

How we built it

The Discord was coded in Python using the Discord Developer API, while the questions it posts are a premade list stored in a SQL database using Supabase. We also built a website to show off the bot and advertise its features.

Challenges we ran into

We initially wanted the bot to have various types of questions such as short answers alongside multiple choice. However, that caused some issues when it came to running the quiz game, and so we decided to keep it simply multiple choice for now. Additionally, at first the bot would randomly post the questions out of order, but we found it easier to post it in order as placed in the database.

Accomplishments that we're proud of

We're proud to have collaborated on something together despite neither of us really knowing each other beforehand. Additionally, given that we are students balancing a full courseload, work, midterm exams, we still managed to communicate remotely and finish this project.

What we learned

We learned the importance of teamwork, and the importance of using software engineering skills for the greater good of the public.

What's next for Data n' Structor

We would like to expand on the foundation we have created by making different question types in the future. Perhaps in the future, we can also add a ChatGPT wrapper so the bot will use an LLM to generate its own questions not in a predetermined database.

Built With

Share this project:

Updates