Skip to content

Final submission#28

Open
TylerNorby wants to merge 1 commit into
AQNclasses:mainfrom
TylerNorby:main
Open

Final submission#28
TylerNorby wants to merge 1 commit into
AQNclasses:mainfrom
TylerNorby:main

Conversation

@TylerNorby
Copy link
Copy Markdown

  1. Added three new rooms, Throne room, Wizards study, and Gold Room. I did not need to modify any classes, just room yaml.

  2. Edited game state, and items to add new books to the game. When all three books are placed in the gold room, game will be won

  3. Added locked doors. This needed changes in Room.java, LoadYAML, and game. I added locked doors to the Room object.

  4. Subclasses were probably the most difficult thing to implement. Most of the work happened in Game, favoring a menu there to handle different item actions. Also, allows you to choose what to do with and item. I also changed the item.yaml in order to make the use be null in favor of the menu i added in the Game.java.

  5. created the book subclass, this lets you read books to see thier contents, and also tell their subject by inspecting the books.

  6. created two test, one to test room creation and one to test item creation.

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.

1 participant