Sliding puzzle game java source code5/19/2023 In the Application.java file, you can either auto-generate a random puzzle using the Utils.getRandomPuzzle() method or create your own by calling nvertStringTo2DIntArray(e.g. This project does not include a user-friendly interface, however, it can easily be integrated with other projects and tools. The heuristics used in this project are well-known and widely used in the field of artificial intelligence, providing a high level of accuracy in finding the solution to the 15-Puzzle game. The A* algorithm guarantees finding the optimal solution while IDA* is the optimized version of the A* algorithm which uses less memory. The Manhattan-Heuristic, Hamming-Distance, and Linear-Conflict Heuristics are used to determine the cost of each move and guide the search for the optimal solution. This software project involves solving the 15-Puzzle sliding game using both the A* and IDA* algorithms.
0 Comments
Leave a Reply. |