Module app

Package app.core.interactor


package app.core.interactor
  • Class
    Description
    GameSocket<M extends Move<P>,P extends Piece>
    Interface of socket that players and spectators can connect to in order to play/spectate the game
    InteractiveGame<M extends Move<P>,P extends Piece,G extends Game<M,P>>
    Wraps game allowing players to interact with each other and notifies participants about events
    Player<M extends Move<P>,P extends Piece>
    Player exposed to external controllers such as UI, abstracts out player number and underlying game.
    Spectator<M extends Move<P>,P extends Piece>
    Spectator that receives information about moves done by players
    Thrown when Player methods are called without previous call of connectPlayer on InteractiveGame object