You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is the following code used to analise IF the wumpus is there, or is it stating that it is POSSIBLY in theses places?
stench(yes) :-
agent_location(X,Y),
X1 is X + 1,
X0 is X - 1,
Y1 is Y + 1,
Y0 is Y - 1,
( wumpus_location(X1,Y) ;
wumpus_location(X0,Y) ;
wumpus_location(X,Y1) ;
wumpus_location(X,Y0) ;
wumpus_location(X,Y) ),
!.
The text was updated successfully, but these errors were encountered:
Is the following code used to analise IF the wumpus is there, or is it stating that it is POSSIBLY in theses places?
The text was updated successfully, but these errors were encountered: