This is a Prolog implementation of a world trivia game! Players can choose one of three categories - video games, pop culture, or geography - and test their trivia knowledge! This project's GUI was developed using the XPCE library.
- Select a category from the main menu.
- Show off your knowledge about your category of choice! π
Once the trivia round is over, your score will appear!
You can always try other categories or try to beat your high score by clicking the Main Menu
button and choosing your category of choice!
- Install SWI Prolog.
- Clone and cd into this repository.
- Start the swipl terminal by running the
swipl
command. - Run the command
[trivia].
in the swipl terminal. - Run
main.
and the GUI will launch!
NOTE: While the GUI works just fine on the Windows OS, the XPCE library does not seem to be compatibkle with the Mac OS.