Assignment - Modification of Demolition Derby Processing Program
Make the following changes to the code provided:
1. Make sure each ball moves
2. Show the number of collisions for the ball with other balls under its number in a different font style and size
3. Randomize the color of the ball between 4 colors of your choice
4. Have the ball bounce all the barriers
5. MouseClick on the ball reduces the number of collisions for the ball. Clicking on the ball means the rectangle containing the ball, hence use x,y,width and height information.
6. Make the ball disappear after 10 ball to ball collisions
7. Up arrows makes all balls go slightly faster
8. Down arrow makes all balls go slight slower
9. Make a feature of your choice, note the feature in the comments for your submissio
Attachment:- Processing-First.zip