All Classes and Interfaces
Class
Description
An implementation of this interface represents a "strategy" or a
computer A.I.
Base class for battleship reference tests.
Represents one player's board in the classic board game
"Battleship".
A strategy for the classic board game "Battleship" that methodically
plods along, firing at cells in order.
Represents a "call out a shot" (or make a shot) move in the game
"Battleship".
Represents a move that sets the positions of all the player's ships
on his or her board in the game "Battleship".
The playing area of a "Battleship" game, consisting of two boards for
the two players.
Represents the state of a game of "Battleship", including both players'
boards.
Represents a red "hit" peg in the game "Battleship", so it can be
shown on the screen.
Represents a white "miss" peg in the game "Battleship", so it can be
shown on the screen.
A base class that represents any kind of "move" that can be
made by a player for the classic board game "Battleship".
Represents an (x, y) position.
A strategy for the classic board game "Battleship" that methodically
plods along, firing at cells in order.
Represents a single ship in a player's fleet in the classic board game
"Battleship".
Represents a ship piece in the game "Battleship", so it can be
shown on the screen.
Represents a move that sets the positions of all the player's ships
on his or her board in the game "Battleship".
An enumeration representing the five types of ships in a player's fleet
in the game "Battleship".
A special subclass of
Board
that adds extra features useful
in writing test cases.A special subclass of
GameState
that adds extra features useful
in writing test cases.