CSD Unit 6 lesson 8, bubble 8

Screen Shot 2019-12-12 at 12.12.33 PM
I am struggling with the player parameter and how to define it properly in order for this puzzle to function. When I put I use the suggestion, I get an error message.

I’m not quite sure I understand your question. The screenshot you shared looks like it should work, but I’m not sure if that is a screenshot of your code or something else and I’m also not sure I understand what error you are encountering.

Can you click on the share button and share a link to your code? If so, we can look at it and better help you to troubleshoot the error you are seeing.



Sure thing Mike. While I am working is there a way to test the program without the Circuit Playground?
Here is my code. When i click run, nothing happens.
Screen Shot 2019-12-12 at 1.54.31 PM|629x500

Did you mean

setProperty(player, "y", player_y);

Instead of

/* typeof player --> string
   typeof player_y --> number
setProperty(player, "y", player);

yes, try the suggestion of @infinitestasis, It does appear to be a typo on your last line. Also, most of the time, you will need the Circuit Playground in order to test your code.


I found my error and corrected it.
As feedback, the player vs “player” piece was really tricky for me and my students

1 Like