This week used array and class. By clicking in the yellow square, new balls will be created. And by pressed [delete] on keyboard, the balls can be deleted following the backward order.
When the ball reaches the edge, the edge color gonna change / light up.
Q: I've tried many ways to code but it's still not sensitive enough, there're delays and not responding.