diff options
author | Jed Barber <jjbarber@y7mail.com> | 2014-03-28 19:27:05 +1100 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2014-03-28 19:27:05 +1100 |
commit | 84b3b5d3efe7e33aeea4243c04436ce2a9a845d5 (patch) | |
tree | 5e20199bc1a400f62704f56f4251d8170d054a7a | |
parent | 3a9d367a7b6a589006c7b59ee3399cf3434e2b99 (diff) |
Added list of rooms
-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). |