Hunt the Wumpus
A Common Lisp implementation of Gregory Yob's classic game.
- *hunt-events* map of events to events that follow - *hunt-endings* adjusted - made sure hunt-ending events get recorded properly - chamber functions COUNT-CHAMBER-IN-CAVE, CHAMBERS-NEARBY take a cave-network argument - made sure chamber functions get called properly - created TRUNCATE-PATH - created CORRECT-PATH-STOP and CORRECT-PATH-STEER for adjusting paths - events recorded in EVENTS-HISTORY slot in HUNT-ENV struct - event HUNTER-ENTERS-CAVE recorded in its own function - renamed hunt-env parameters for wumpus and hunter functions - added new arrow functions - fixed up ARROW-STRIKES-WUMPUS with new arrow-path adjuster - created EVAL-ARROW-PATH-CLASSIC and EVAL-ARROW-PATH-FANCY - adjusted SEND-WUMPUS-MESSAGE, WRITE-WUMPUS-LINE, and WRITE-WUMPUS-PROMPT - setup game environment with EVENT-MESSAGES slot - created event messages for wobh game - setup GET-INPUT-PROMPT to eval a function, if the prompt is function - created primitive dead-shot functions for testing - fixed up MAKE-ARROW-PATH and EVAL-HUNTER-SHOT and EVAL-HUNTER-MOVE functions - fixed EVAL-PLAYER-QUIT - MAIN now has single-step do loop - fixed up test functions - probably some other stuff
|Failed to load latest commit information.|
|README.md||Many updates, mostly adding documentation strings to functions|
|README.org||Many updates, mostly adding documentation strings to functions|
|wumpus.lisp||Many changes in code|