Inspiration

Most of the prolog tutorials from the hackathon workshops and online tutorials focused on family relationships. I thought it may be fun to take that to the next level with something as complex as Game of Thrones.

What it does

It organizes characters from Game of Thrones based on certain categories selected in the menu (Like House, Gender, Dead/Alive, etc).

How we built it

I coded basic relationships between characters and then programmed some more complex rules that could be used to create more groupings within the program. Next, I create a driver program that looped through provided categories in a specific format.

Challenges we ran into

I had issues getting the read function to work in S(CASP) over ssh, so I used SWISH for a cleaner demo. Originally, I wanted to present these groupings within a webpage, but I had issues finding resources teaching me how to embed prolog programs within webpages.

Accomplishments that we're proud of

I'm really proud of how much more familiar I am with prolog compared to when I first started. I'm also proud that I actually submited my project, despite how simple it is. It's just cool to have another skill, even if I'm still a beginner.

What we learned

I became a lot more familiar with S(CASP) and prolog. I learned you can actually create webpages in pure prolog which could have presented a potential solution for my earlier issues. Towards the end of working on my project, I also started reading articles on how to program sorting algorithms and data structures within prolog.

What's next for Character Guide

I may revisit this next year and try to improve it based on what I've learned.

Built With

  • prolog
  • s(casp)
  • swish
Share this project:

Updates