Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Fix incorrect room objects in choose-your-own-adventure exercise #78

Merged
ChrisOwen101 merged 2 commits intomainfrom
fix-cyoa
Mar 26, 2021
Merged

Fix incorrect room objects in choose-your-own-adventure exercise #78
ChrisOwen101 merged 2 commits intomainfrom
fix-cyoa

Conversation

@40thieves
Copy link
Copy Markdown
Contributor

Fixes the choose-your-own-adventure exercise so that the direction properties in room objects are all functions, instead of null or functions. This caused trainees to add additional type checking in their solutions.

I also added some additional error checking to the skeleton code, as one of the trainee's solutions was on the right lines, but slightly off.

This was brought up in feedback from London Class 7 trainees in this Slack thread

@illicitonion
@ChrisOwen101

@ChrisOwen101 ChrisOwen101 merged commit db523eb into main Mar 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants