summaryrefslogtreecommitdiff
path: root/map.prolog
diff options
context:
space:
mode:
Diffstat (limited to 'map.prolog')
-rw-r--r--map.prolog10
1 files changed, 1 insertions, 9 deletions
diff --git a/map.prolog b/map.prolog
index 5c432d9..2c5613a 100644
--- a/map.prolog
+++ b/map.prolog
@@ -1,13 +1,5 @@
-:- module(map, [connects/3, writeExits/1]).
-
-
-writeExits(L) :-
- connects(L,_,D),
- join(['You see an exit to the ',D,'.\n'],M),
- write(M),
- fail.
-writeExits(_) :- true.
+:- module(map, [connects/3]).
% map has 20 rooms, labelled a through t