CSci A201/A597
Frequently Asked Questions on Lab #6a (the "bonus")


General Questions

  1. Sometimes when I try to draw a message on the screen it does not appear, even though I seem to be doing everything right.

    You probably are! There is a minor bug in the CCJ library that messes up when drawing messages if they are the last lines of the program. To correct this, you can add a System.out.println(""); instruction to the end of your program to force the drawings. (It may be a "hack", but it works for now!)


Questions About DartGame.java

  1. In the assignment, it gives the impression that all you have to do is report the final score for each player, but in the demo that is posted, the scores for each dart are appended (like "+25") to show a running sum for each player. Do we have to display the score in the way the example did?

    No. You can just report the final scores. However, if you think that you know the trick for appending the scores to a message, you can attempt this as if it were in the "For the Ambitious" section. (Thus, this code will not be required, but it can improve your grade if you get it to work.) It is really not that hard... there is just a trick to it that you have to figure out.


Last modified: Thur Mar 11 22:30:05 EST 1999