Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
With our graph construction stuff out of the way, we can write a simple function that initializes a brand-new game of Grand Theft Wumpus:
(defun new-game ()
(setf *congestion-city-edges* (make-city-edges))
(setf *congestion-city-nodes* (make-city-nodes *congestion-city-edges*))
(setf *player-pos* (find-empty-node))
(setf *visited-nodes* (list *player-pos*))
(draw-city))