Skip to content

About

Hunt the Wumpus as a metaprogramming game in IRB

Resources

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Hunt the Wumpus

This is a hunt the wumpus clone with each of the caverns implemented as functions, dynamically defined based on which chamber you're in. Call an individual chamber's function to move to that chamber.

Once you have determined which chamber the wumpus is in, call the shoot function with the symbol of the chamber the wumpus is in.

The game is played in IRB. Execute ./wumpus in the directory to clear the screen and play the game.

Step-by-Step Execution Instructions

Running Mac OS X, open up your terminal (Macintosh HD → Applications → Utilities → Terminal). Type in

cd ~/Downloads/Hunt-the-Wumpus

and press enter (assuming you downloaded this to your downloads folder). Type in

./wumpus

and you should be running the app.

About

Hunt the Wumpus as a metaprogramming game in IRB

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages