Package battleship.model.player

Contains all players classes instances and theirs super classes and interface
  • Interface Summary
    Interface Description
    Player
    Player interface, used as an API.
  • Class Summary
    Class Description
    AbstractPlayer
    Abstract player class see Player to know more about this code organisation
    Computer
    Computer super class, all player object which use an algorithm to calculate coordinates to use should extend from this object.
    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
    Random
    place its ship and choose moves randomly