This program awards points whenever the mouse is clicked inside of the basket. It improves on SillyBasketBall by using the if statement to determine whether or not the user has scored.

Note: This demo requires a Java enabled browser. If you see this message then your browser either doesn't support Java or has had Java disabled.

Click below to download the source files for BetterBasketBall.