diff options
-rw-r--r-- | agent.prolog | 4 |
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), |