This Prolog project handles a grid puzzle involving words and their intersections. The code defines a predicate to solve the puzzle by ensuring that the words fit the specified lengths and that the intersections between words are valid.
The project includes the following key predicates:
Main predicate that checks if the given lengths and intersections can be satisfied by a list of words.
Ensures that all elements in a list are unique.
Computes the length of each word in a list.
Checks if two words intersect correctly at given indices.
Processes a list of intersections and validates them.
Retrieves the N-th element from a list.