UPDATE - Oct 2021: Please note this will not run in iOS or Safari on macOS as private class methods are not yet supported.
Individual tech test.
Create a bouncable ball which is fired from the position of a mouse click. Solution must handle multiple balls being fired and bouncing at the same time. Bonus points if responsive.
Using OO design skills complete the task and ensure the code is well structured, extensible, testable, readable, commented etc.
HTML, CSS, JS. 🎨
- Clone repo
git clone https://github.com/reeshul/bouncingballs
- Change directory
cd bouncingballs
- Open index.html
open -a "Google Chrome" index.html
The solution can also be found on codepen here.