summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--agent.prolog4
1 files changed, 4 insertions, 0 deletions
diff --git a/agent.prolog b/agent.prolog
index b505c20..8adbe3e 100644
--- a/agent.prolog
+++ b/agent.prolog
@@ -129,6 +129,10 @@ shoot(Direction) :-
moveWumpus.
+shoot(_) :-
+ write('Unknown target.\n\n').
+
+
% letting the player know what's going on