summaryrefslogtreecommitdiff
path: root/map.prolog
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2014-03-22 01:02:47 +1100
committerJed Barber <jjbarber@y7mail.com>2014-03-22 01:02:47 +1100
commitf59e957d741814459a0dca2993a4d3d4a2325688 (patch)
tree31ce30650735fa50de0aba9268dfbdf797bfe3cc /map.prolog
parent410fc38f935b552a58af2e716d2fe814eee432c9 (diff)
Reorganising code
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