Sliding-Puzzle-A-Star-Solver
Sliding-Puzzle-A-Star-Solver copied to clipboard
Repeated Numbers
When I enter an input such as 1 1 1 2 2 2 3 3 0 with an end state of 3 3 2 2 2 1 1 1 0, the program is not solving for a particular ordering of the 3's tiles, 2's, and 1's, but rather finds any solution that matches the end state, correct? Likewise, is it acceptable to use multiple 0's to indicate there is more than one empty space that can be allocated?