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

Fix incorrect logic in CYOA game harness#96

Merged
40thieves merged 2 commits intomainfrom
fix-cyoa-harness
Aug 3, 2021
Merged

Fix incorrect logic in CYOA game harness#96
40thieves merged 2 commits intomainfrom
fix-cyoa-harness

Conversation

@40thieves
Copy link
Copy Markdown
Contributor

Description

Switch and to or, fixing bug where starting the game with no room would not trigger the check. Fixes CodeYourFuture/JavaScript-Core-2-Coursework-Week1#92.

Who Needs to Know?

@mrmikeshields-cyf
@illicitonion

Switch and to or, fixing bug where starting the game with no room would
not trigger the check.
@40thieves
Copy link
Copy Markdown
Contributor Author

40thieves commented Jul 21, 2021

I'll work up a solution PR too. Now done: https://github.com/CodeYourFuture/JavaScript-Core-2-Coursework-Week1-Solution/pull/8

@40thieves
Copy link
Copy Markdown
Contributor Author

40thieves commented Aug 2, 2021

Pushed a change to match discussion in https://github.com/CodeYourFuture/JavaScript-Core-2-Coursework-Week1-Solution/pull/8 @illicitonion not sure if you want to re-review? I'll give it a day before merging.

Copy link
Copy Markdown
Member

@illicitonion illicitonion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me! Thanks!

@40thieves 40thieves merged commit 33ef0ac into main Aug 3, 2021
@40thieves 40thieves deleted the fix-cyoa-harness branch August 3, 2021 08:23
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.

11-choose-your-own-adventure play function not correctly checking game.currentRoom

2 participants