Respuesta :
Answer:
There were several problems with the code:
- When pressing arrow left, the ninja was moving to the right.
- The ninja could be moved off the screen and then is lost
- When changing the direction, the ninja didn't change its appearance
Explanation:
See screenshot for changes. 10 was changed to -10, and I added checks to see if the ninja is at the edge of the screen.
