Ball puzzle sorting (4balls stack in 6 stacks)
Budget: $10 – $30 USD
The project is required to write program that accept four lines of input using Python input() function. The first line is the top of the four stacks, the second line is the second element of the four stacks, etc. For example, the following input shows an initial state that is also a goal state.
A B C D
A B C D
A B C D
A B C D
****The program must use Uniformed cost search algorithm*********
2) The program does not need to validate the input values. You can assume that the input values contain 4 As, 4 Bs, 4 Cs, and 4 Ds arranged in random order placed is the first four stacks.
3) I will provide a number of test cases including the case that returns "no solution". So that you can use it to test your program.
4)MUST BE DONE BY 19/9/2021
A B C D
A B C D
A B C D
A B C D
****The program must use Uniformed cost search algorithm*********
2) The program does not need to validate the input values. You can assume that the input values contain 4 As, 4 Bs, 4 Cs, and 4 Ds arranged in random order placed is the first four stacks.
3) I will provide a number of test cases including the case that returns "no solution". So that you can use it to test your program.
4)MUST BE DONE BY 19/9/2021