Some exercises for Prolog programming
Prolog
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
is_prime.pro
mult.pro
nani.pro
parser.pro
rps_game.pro

README.md

Prolog Exercises

Some simple "code katas" written in Prolog language.

  • is_prime.pro: prime check by brute force.
  • mult.pro: two versions of the mult operation, with the naive multiplication algorithm.
  • parser.pro: a simple syntactic parser.
  • rps_game.pro: a Rock-Paper-Scissors-Lizard-Spock game.
  • nani.pro: a text adventure, from the Amzi Prolog Tutorial. TODO