Course:CPSC312-2024/Buzzfeed

From UBC Wiki

What is the problem?

Buzzfeed quizzes are fun but they can get boring, so we wanted to create our own version of a quiz that helps you understand who you really are. The best way to do that? Through cheese of course. Our Buzzfeed quiz is leveled up in 3 ways

  1. the questions are randomized each play, so you can try again with different and new questions
  2. you can find out your % match for the cheese that fits your personality as well as your second best match and your worst match!
  3. each personality card has an adorable never before seen cartoon cheese generated by DALL-E!

What is the something extra?

On top of leveling up the play of the Buzzfeed quiz we have created a pretty snazzy GUI to make playing effortless and fun.

What did we learn from doing this?

Prolog makes a lot of sense for matching tasks. It felt effortless to have it find the best cheese and it was easy to adapt this to find the worst and second best as well. Because Prolog works by considering the truth of every statement, it is really intuitive to write a bunch of statements that need to be satisfied for it to be the best match. We did need to consider how to implement comparisons over an arbitrary amount of cheeses and had to use the logical negation as failure to do so. This is still something we are still learning and wrapping our brains around.

Using XPCE with Prolog was actually really easy and a fun skill to pick up. Once again, the way you have to think while using Prolog was really interesting to apply to a GUI. It feels like making a lot of "this must be ..." statements and was different but fun!

Work division

To be privately communicated :)

Links to code etc.

https://github.com/ichung08/buzzfeed