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 e48049d..b505c20 100644
--- a/agent.prolog
+++ b/agent.prolog
@@ -90,6 +90,10 @@ move(Direction) :-
look, !.
+move(_) :-
+ write('Unknown direction.\n\n').
+
+
take(gold) :-
here(Location),
goldAt(Location),