These are some of the general comments I had on your second assignment. Most of you have the same or similar comments on your grade sheets, but I may have forgotten to include some of them when appropriate.
javadoc
documentation.
*
on it).
private
or protected
.
x
for "probability of player one winning a serve"
is unintuitive.
3
to indicate "player 1 won by shutout". That's
a pain to decode.
main()
routines need to have
instructions for calling the class in the comments (and not just in
the code).
//
style comments
for your in-code comments. (This makes it easier to "comment out"
a block of code.)
a_player
and
b_player
rather than player_a
and
player_b
.
.class
and .html
are readable).
Disclaimer Often, these pages were created "on the fly" with little, if any, proofreading. Any or all of the information on the pages may be incorrect. Please contact me if you notice errors.
Source text last modified Thu Sep 18 14:07:50 1997.
This page generated on Fri Dec 12 12:06:15 1997 by SiteWeaver.
Contact our webmaster at rebelsky@math.grin.edu