This program allows the user to click on the ball and drag it around the screen. Releasing the mouse drops the ball. Points are awarded when the ball is placed in the basket. It demonstrates the use of more complex boolean statements, as well as the correct technique for dragging an object.

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 BestBasketBall.