Hello.
I want an opinion about the code I made, it is basically what was requested in the task, but I have added the following features:
- A final message (when there aren’t any balls).
- A button to add more balls.
- The Evil Circle grows if he eats a ball, and the size he grows depends on the ball eaten
This is my code:
https://codepen.io/vixroy/pen/yLaGwyp
This is the task:
https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/Adding_bouncing_balls_features