teto1992 / ordleg-points

A Prolog prototype to automatically count points in the "Ordleg" game by FlyingTiger

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ordleg-points

A Prolog prototype to automatically count points in the ordleg game by FlyingTiger

Prerequisites

To run this software install SWI-Prolog by following the instructions available here

How to

  1. Clone this repository
  2. Open a new terminal and launch swipl ordleg.pl from the root folder of the cloned repository
  3. Query the predicate ordleg(Word, Score) as in
?- ordleg('hello', Score).
Score = 8.

to obtain the Score corresponding to the specified Word

About

A Prolog prototype to automatically count points in the "Ordleg" game by FlyingTiger

License:MIT License


Languages

Language:Perl 67.1%Language:Prolog 32.9%