Class MiniatureGolf

java.lang.Object
  |
  +--MiniatureGolf

public class MiniatureGolf
extends java.lang.Object

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

See Also:
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

MiniatureGolf

public MiniatureGolf()
Method Detail

main

public static void main(java.lang.String[] args)
The main method. Starts the program running, makes a course, players, and being play with the help of some user input

Parameters:
args - optional command line arguments that, here, do nothing