|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--MiniatureGolf
MiniatureGolf is a program that simulates a group of golf players on a course. On every hole of the course, each player takes their turn trying to get their golfball into the hole. This is simulated by a random number generated at each turn to see if their shot "made" it or not.
The number of holes and the number of players are obtained through user input from the javabook2 package. Bugs: none known
also
Constructor Summary | |
MiniatureGolf()
|
Method Summary | |
static void |
main(java.lang.String[] args)
The main method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MiniatureGolf()
Method Detail |
public static void main(java.lang.String[] args)
args
- optional command line arguments that, here, do nothing
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |