Course:CPSC312-2017-Pottinator

From UBC Wiki

Pottinator

Authors: Cynthia, Nick

What is the problem?

Pottinator is a game where Prolog tries to guess which Harry Potter character the user is thinking of, by asking a series of questions. We plan to have a database of questions, with a differing range of specificity. The questions will become more specific as we narrow down the possible characters.

What is the something extra?

The extra component of our game is a dynamic knowledge base that adds new facts as the game progresses - such as when the game encounters characters the player is thinking of that is not in the KB.

What did we learn from doing this?

We tried to solve the issue of narrowing down on KB with an object oriented programming approach, treating characters like objects and sorting them based on character specifications. We realised this wasn't the most feasible approach and worked around a method using arrays and categorization to narrow our results.

Submission

https://drive.google.com/open?id=0B97UcUAGiTeQQWRoOTNaZ1NDSVU  



Return to Course