diff options
-rw-r--r-- | map.prolog | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,5 @@ -:- module(map, [connects/3]). +:- module(map, [roomList/1, connects/3]). % map has 20 rooms, labelled a through t @@ -8,6 +8,9 @@ % the edges +roomList(X) :- X = [a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t]. + + % loop around the middle connects(a,b,northeast). |