Hunt the Wumpus: Difference between revisions
Content added Content deleted
(Added racket solution) |
(Added data comment) |
||
Line 763: | Line 763: | ||
bat-locations |
bat-locations |
||
pit-locations) #:mutable #:transparent) |
pit-locations) #:mutable #:transparent) |
||
; The labyrinth-data list contains 20 lists that hold the information for |
|||
; each rooms connections to other rooms in the labyrinth. |
|||
; e.g. (1 2 5 8) shows that room 1 has connections to rooms 2, 5 and 8. |
|||
(define labyrinth-data '( |
(define labyrinth-data '( |