Simple, fast and reliable Hitori-Sovler written in SWI-Prolog.
The solver is written as a part of a course in Computer Science at the University of Agder. The solver is written with the goal to be logical, efficient and correct.
You need to have SWI-Prolog installed on your machine in order to run the solver.
- Clone this repository.
- Open a terminal and navigate to the cloned folder
- Type
swipl
- Copy your puzzles into the hitori_unsolved.txt file. Be sure to follow the same format as the example data.
- Load the solver by typing
['./PrologAssignment/HitoriSolver.pro'].
- The solution to the inserted puzzles will be printed to the hitori_solved.txt file.