From 6a143f613747fed15132f1db63695f4d7a9f2eb1 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Wed, 2 Apr 2014 19:32:08 +1100 Subject: Movement now automatically looks --- agent.prolog | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'agent.prolog') diff --git a/agent.prolog b/agent.prolog index 2ff60eb..11502ac 100644 --- a/agent.prolog +++ b/agent.prolog @@ -83,7 +83,8 @@ move(Direction) :- asserta(here(New)), join(['You move to the ',Direction,' .\n\n'],W), write(W), - checkHazards, !. + checkHazards, + look, !. take(gold) :- -- cgit