Changes

Jump to navigation Jump to search
Line 39: Line 39:  
For example, the Sampledungeon represented above is described by these strings
 
For example, the Sampledungeon represented above is described by these strings
 
   
 
   
[u,0,0,lamp,0,1,key,1,1,sword,1,0,princess] #key in room 0,1 , sword in room 1,1 ,princess room 1,0
+
[u,0,0,lamp,0,1,key,1,1,sword,1,0,princess]                 #key in room 0,1 , sword in room 1,1 ,princess room 1,0
   −
[d,0,0,0,0,0,1,2,0,0,1,1,1,1,1,2,1,1,1,3,0,1,0,0,0] #room 0,0 north door open, room 0,1 east door locked etc
+
[d,0,0,0,0, 0,1,2,0, 0,1,1,1, 1,1,2,1, 1,1,3,0, 1,0,0,0] #room 0,0 north door open, room 0,1 south open, room 0,1 east door locked etc
    
===Keyboard commands===
 
===Keyboard commands===
2,486

edits

Navigation menu