Develop an ai for a game called fox and geese its part of


Assignment

I'm working on developing an ai for a game called fox and geese it's part of my project for the class. The rule of the game is that the fox can jump a duck if the duck was next to the fox and has no other duck to block the fox jump. the task required from me is:

To block the fox from jumping another duck; One way to do that is to check first if there is any jumps on the board using the function (populateByJumpDetection) then check if there is any duck that can move to that spot.

If fox can jump goose
Store the position
For each position a fox can jump to
Check If any goose can move to position
Add potential move.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Develop an ai for a game called fox and geese its part of
Reference No:- TGS02777508

Expected delivery within 24 Hours