Student needs help with Unit 3, Lesson 9

#1

One of my students is having difficulty with his game. I have attached the link to his game.

He wants to have the squid change to another picture when it gets to a certain point. Is it missing a parameter?

Thanks.

#2

Code to check where the sprite is should be moved into the event handler for the corresponding onBoardEvent()
Add console.log() to debug the code or add breakpoints to the code that the student thinks is not working and debug.

1 Like