Ella Moshay#5
Open
EllaMoshay wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I successfully completed adding 2 rooms to rooms.yaml. I added a Outdoor Patio and a Living Room.
I successfully added a new ending to a new room. My new ending is in the living room when you pick up the objects Key and TV.
I successfully implemented a locked door. The locked door in my game is the blue door.
I finished the implementation of Animal and Weapon. Along with adding Plant, Basic Item and Key. I added interact action to a lot of the items, which can be seen in GameState. I also added a water action which points to the extended class Plant, then to .reveal() in GameState. Lastly, I added an unlock action which points to key which points to .unlockBlueDoor() in GameState.
I successfully added subclass Key, then added item key to it. I added subclass Plant then added the plant item to it. Lastly, I added the subclass BasicItem, and it modifys all the current objects and executes them.
I successfully added two tests, testing RoomContents() tests that the poison frog is in the Starting Room, and testHiddenItem() which tests if the key is a hidden item on the patio.