Class BattleshipDriver

java.lang.Object
BattleshipDriver

public class BattleshipDriver
extends java.lang.Object
Driver class to play the game Battleship.
  • Constructor Summary

    Constructors
    Constructor Description
    BattleshipDriver()  
  • Method Summary

    Modifier and Type Method Description
    static void main​(java.lang.String[] args)
    Creates an instance of the Battleship class and plays the game to completion.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BattleshipDriver

      public BattleshipDriver()
  • Method Details

    • main

      public static void main​(java.lang.String[] args)
      Creates an instance of the Battleship class and plays the game to completion.
      Parameters:
      args - not applicable for this program