Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavascriptBridge Snake-Game Curriculum: No callout of transition from if/else to case statement #617

Open
sarahjschultz opened this issue May 6, 2017 · 0 comments

Comments

@sarahjschultz
Copy link
Contributor

SUMMARY:

In Lesson 6, we help students set up the moveSegment function, using an if/else statement. In Lesson 7, without any explanation, we display the moveSegment function using a case statement and tell the students their snake.js file should look like that.

Students were confused by this switch and weren't sure where the changes came from. This transition is worth a callout/explanation.

STEPS TO REPRODUCE:

  • In Lesson 6 we define moveSegment as:screen shot 2017-05-06 at 11 04 40 am

  • In Lesson 7 we define moveSegment as:screen shot 2017-05-06 at 11 04 51 am

  • Note that we do not callout in the curriculum, this transition from if/else to case. Students found this confusing and wondered if they had missed a step.

EXPECTATION:

We would like to see an explanation of the transition from the if/else checking to case.

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

No branches or pull requests

1 participant