Question: Al Project 1 2 0 2 4 - 2 0 2 5 : You will implement a 3 times 3 board game. The aim
Al Project:
You will implement a times board game. The aim is reaching to the goal state
where Tile # # and # are located on the board.
Requirements
The initial and goal states will be given by user
The tiles can be moved up down, right, or left.
The game will begin by the move of Tile #if required and go on with the
moves of other tiles in order.
For example:
st step: move Tile #
nd step: move Tile #
th step: move Tile #
th step: move Tile #
th step: move Tile #
th step: move Tile #
Distancecost between two neighboring states will be measured based on the move costs as given
below
right or left move cost
up of down move cost
The A search will be implemented with Manhattan distance as heuristics.
The expansion will go on till th expanded node. The program will print out each expanded state and
compare it with given goal state. Can you do it in java
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
