/* --------------------------------------------------------------------------------------------------------------- % CSE 3401 W13 Assignment (Assignment Number #) % Name: % Student Number: % CSE login: ----------------------------------------------------------------------------------------------------------------- */ /* load the minimax search algorithm */ :- ensure_loaded('play.pl'). % Representation of the Grid, initial configuration a % p represents the squares with a pit % e represents the empty squares % r represents the square with the robot % w1, w2 and w3 represent squares with wumpuses config(a,[[p,r,p,e,p,e], [e,p,e,p,e,p], [p,e,p,e,p,e], [e,p,e,p,e,p], [p,e,p,e,p,e], [w1,p,w2,p,w3,p]]).