Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hunt The Wumpus modifications #3

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

fredtrimble
Copy link

Here is a summary of the changes:

  • Modified the HuntTheWumpusGame class to use streams and lambda expressions.
  • The ArrowKillsWumpus, ArrowsAccumulateInFarthestCavern, and PlayerCanNotShootWithoutArrows tests originally tested functionality in one direction. These tests were modified to use FitNesse decision tables instead. New FitNesse fixtures were added to support the decision tables.
  • A new feature was added that allows the player to add a "pit cover" to an adjacent cavern. If a pit happens to exist in the chosen cavern and the player moves to that cavern, the player will not fall through and will not lose "hit" points. The player has one pit cover allowed per game. A suite of FitNesse tests were added for the feature.
  • A swing GUI was added as well. Simply run the main method in the GUI "Main" class.

@unclebob
Copy link
Owner

Please send me your email address. [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants