Open Command Prompt/PowerShell/Terminal on the dist/
directory by pressing SHIFT
+RIGHT
button on Windows or by openning Terminal on Linux and then type any of the following and hit ENTER
:
-
java -jar 8-puzzle.jar 1
for Hamming -
java -jar 8-puzzle.jar 2
for Manhattan -
java -jar 8-puzzle.jar 3
for Modified Manhattan