Class Game

java.lang.Object
  extended by Game

public class Game
extends java.lang.Object

The class which initiates the game.


Field Summary
static int BOARD_X_COORDINATE
           
static int BOARD_Y_COORDINATE
           
static int DEFAULT_NUMBER_OF_SHIPS
           
static java.util.Random rand
           
 
Constructor Summary
Game()
           
 
Method Summary
static void main(java.lang.String[] args)
          The main program.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_NUMBER_OF_SHIPS

public static final int DEFAULT_NUMBER_OF_SHIPS
See Also:
Constant Field Values

BOARD_X_COORDINATE

public static final int BOARD_X_COORDINATE
See Also:
Constant Field Values

BOARD_Y_COORDINATE

public static final int BOARD_Y_COORDINATE
See Also:
Constant Field Values

rand

public static java.util.Random rand
Constructor Detail

Game

public Game()
Method Detail

main

public static void main(java.lang.String[] args)
The main program.

Parameters:
args - the command line inputs.