Skip to content

LastLombax/PLOG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FEUP-PLOG 2017/2018

Class 3MIEIC06

Element College e-mail
Alexandre José da Silva Carvalho [email protected]
Vitor Emanuel Fernandes Magalhães [email protected]

Code developed for Logic Programming

Project 1 - Lear

The intent of the first project was to get familiar with the programming language PROLOG, as well as develop an application with the puzzle Lear.

To start the game, download the source folder, open a SICStus console, compile the file "lear.pl" and type "lear." in the console.

Project 2 - Japanese Sums

The objetive of the second project was to develop a puzzle solver for the puzzle Japanese Sums, using the CLP(FD) library from PROLOG.

To start the game, download the source folder, open a SICStus console and compile the file "japanese_sums.pl".

Afterwards, type "japanese_sums" with the sums of the rows and the sums of the columns(both lists of lists), as well as the board size and a variable to be used as a Solution.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages