diff options
author | Jed Barber <jjbarber@y7mail.com> | 2014-03-22 01:02:47 +1100 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2014-03-22 01:02:47 +1100 |
commit | f59e957d741814459a0dca2993a4d3d4a2325688 (patch) | |
tree | 31ce30650735fa50de0aba9268dfbdf797bfe3cc /map.prolog | |
parent | 410fc38f935b552a58af2e716d2fe814eee432c9 (diff) |
Reorganising code
Diffstat (limited to 'map.prolog')
-rw-r--r-- | map.prolog | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -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 |