https://github.com/prich28/aiproj2
The X-Puzzle
This program can be run in terminal or the console.
-
Create a conda environment with python3 and numpy installed.
-
Navigate to the desired location on your computer and clone this repository.
-
Create, in the root of the project, a text file that contains a list of puzzles of the same dimension (it must be at least 2 puzzles!). You can also use the puzzles.txt which are puzzles of the shape 2x4.
-
In the root folder run the command
python3 main.py
-
Follow the prompt of the program.
The program will output 2 folders in the root of the project.
The first folder solutions
is the output for each puzzle.
The second folder stats
is an output giving stats for the given algorithm and heuristic.