Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 500 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 500 Bytes

Puzzle Solver

A solver built in prolog that takes a fill-in puzzle and the corresponding word list, and holds if the puzzle is solvable (fillable with all the words).

Example

Puzzle

# h #
_ _ _
# _ #

WordList: hat, bag

Solution

# h #
b a g
# t #

Usage

Puzzle = <puzzle>, WordList = <wordlist>, puzzle_solution(Puzzle, WordList).