Created: 2014-05-18 15:13
Updated: 2015-10-09 01:42
License: other



A Java version of the classic 1970's console computer game, "Wumpus". Written in a straight procedural style.

Hunt the Wumpus

Originally written by Gregory Yob in the early 1970s while at Dartmouth, Hunt the Wumpus is an iconic early text-base adventure game.

This version is adapted from the original BASIC program published in "More BASIC Computer Games" from 1979 (although the program itself is much older). This version adapts the original to Java syntax. This is a purely procedural implementation not leveraging any object-oriented design principles or language feature. It is designed to run from the console just as the original would have worked. As such, it is an illustration of Java syntax but not a particularly good example of a modern object-oriented approach to the problem. My intent is to simply resurrect the original spirit, then build from that while developing my Java skills.



To download the source, build, and get it running you should be able to:

$ mkdir -p ~/code/wumpus
$ cd ~/code/wumpus
$ git init
$ git remote add origin https://github.com/ptdecker/wumpus-proc.git
$ git pull origin master
$ mvn package -Dmaven.compiler.target=1.7 -Dmaven.compiler.source=1.7
$ ./run.sh


For support requests, logging found issues, etc., please use the projects [Issue Tracking] (https://github.com/ptdecker/wumpus-proc/issues) system.

[Contributing] (http://www.hanselman.com/blog/getinvolvedinopensourcetodayhowtocontributeapatchtoagithubhostedopensourceprojectlikecode52.aspx)

At a minumum, please feel free to create an issue or feature request. If you would like to go further, then:

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request
Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more