Skip to content

yuujin-Q/logkom-prolog-monopoly-game

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Tugas-Besar-Logika-Komputasional-2022

Harry Potter Themed Monopoly Game

built using GNU Prolog programming language.

Table of Contents

General Information

   ___  \ /  ___         ,'\_           | .-. \        /|
   \ /  | |,'__ \  ,'\_  |   \          | | | |      ,' |_   /|
 _ | |  | |\/  \ \ |   \ | |\_|    _    | |_| |   _ '-. .-',' |_   _
// | |  | |____| | | |\_|| |__    //    |     | ,'_`. | | '-. .-',' `. ,'\_
\\_| |_,' .-, _  | | |   | |\ \  //    .| |\_/ | / \ || |   | | / |\  \|   \
 `-. .-'| |/ / | | | |   | | \ \//     |  |    | | | || |   | | | |_\ || |\_|
   | |  | || \_| | | |   /_\  \ /      | |`    | | | || |   | | | .---'| |
   | |  | |\___,_\ /_\ _      //       | |     | \_/ || |   | | | |  /\| |
   /_\  | |           //_____//       .||`      `._,' | |   | | \ `-' /| |
        /_\           `------'        \ |              `.\  | |  `._,' /_\
                                       \|                    `.\


  __  __  ___  _   _  ___  ____   ___  _  __   __   ____    _    __  __ _____ 
 |  \/  |/ _ \| \ | |/ _ \|  _ \ / _ \| | \ \ / /  / ___|  / \  |  \/  | ____|
 | |\/| | | | |  \| | | | | |_) | | | | |  \ V /  | |  _  / _ \ | |\/| |  _| 
 | |  | | |_| | |\  | |_| |  __/| |_| | |___| |   | |_| |/ ___ \| |  | | |___ 
 |_|  |_|\___/|_| \_|\___/|_|    \___/|_____|_|    \____/_/   \_\_|  |_|_____|

Play a 2-Player Harry Potter themed Monopoly game with this program.

Team Members

NIM Nama
13521044 Rachel Gabriela Chen
13521046 Jeffrey Chow
13521074 Eugene Yap Jin Quan
13521094 Angela Livia Arumsari
13521100 Alexander Jason

How to Run

  1. Download and install GNU Prolog Console.

  2. Clone this repository by running this git command.

$ git clone https://github.com/GAIB20/tugas-besar-logika-komputasional-2022-letsgetrich-x.git
  1. Open GNU Prolog Console and change working directory using change_directory('directory'). or using console GUI. Navigate to src folder.

  2. Consult main.pl file using consult('main.pl'). in GNU Prolog Console.

  3. Run main.pl with the argument below

$ startGame.

Program Structure

.
│   .gitignore
│   README.md
|
└───doc
|   └───MileStone 1.pdf
|       Milestone 2.pdf
|       Laporan_G06.pdf
|
└───src
    |
    └───b01_colorset.pl
        b02_worldcup.pl
        b04_buildgo.pl
        b05_coinflip.pl
        f01_board.pl
        f02_location.pl
        f03_property.pl
        f04_chance.pl
        f05_tax.pl
        f06_jail.pl
        f07_freeparking.pl
        f08_worldtour.pl
        f09_player.pl
        f10_dice.pl
        f11_bankrupt.pl
        help.pl
        main.pl
        move.pl
        utility.pl

About

Harry Potter Monopoly Game by "| ?- letsGetRich(X)."

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Prolog 100.0%