Skip to content

Ella Moshay#5

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

Ella Moshay#5
EllaMoshay wants to merge 1 commit into
AQNclasses:mainfrom
EllaMoshay:main

Conversation

@EllaMoshay
Copy link
Copy Markdown

  1. I successfully completed adding 2 rooms to rooms.yaml. I added a Outdoor Patio and a Living Room.

  2. 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.

  3. I successfully implemented a locked door. The locked door in my game is the blue door.

  4. 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.

  5. 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.

  6. 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.

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