Skip to content

svolterra/Prolog-Trivia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

29 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Prolog(ic) Trivia πŸ“šπŸ”Ž

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.

main menu of game


How the Game Works:

  1. Select a category from the main menu.
  2. Show off your knowledge about your category of choice! 😎

preview of game

Once the trivia round is over, your score will appear!

player score

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!


To Run this Game:

  1. Install SWI Prolog.
  2. Clone and cd into this repository.
  3. Start the swipl terminal by running the swipl command.
  4. Run the command [trivia]. in the swipl terminal.
  5. 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages