All Classes

Class Description
AbstractPlayer
Abstract player class see Player to know more about this code organisation
AbstractView
Abstract view class
Computer
Computer super class, all player object which use an algorithm to calculate coordinates to use should extend from this object.
Direction  
Game
Main game class
Human
This object do nothing itself, it just an interface to know the type of player (Human or not), each view interact with the player with its methods
Main
Main class Given arguments are importants, please give attention to Main.parseArgs(String[]) about this
Pair<U,​K>
tuple containing 2 generic type elements
Player
Player interface, used as an API.
Random
place its ship and choose moves randomly
Ship
player's ship class
Terminal
Terminal view, instanced if argument 2 equals to "nogui"
TerminalKeyboardListener  
Triplet<U,​K,​V>
tuple containing 3 generic type elements
View
View interface, used as an API
Window
Window view, instanced if argument 2 equals to "nogui"
WindowKeyboardListener  
WindowListener  
WindowMouseListener