Islands Engine v0.2.10 Islands.Engine.Board.Score View Source

Convenience module for client applications.

Link to this section Summary

Link to this section Types

Link to this type

t() View Source
t() :: %Islands.Engine.Board.Score{
  forested: [Islands.Engine.Island.type()],
  hits: non_neg_integer(),
  misses: non_neg_integer(),
  type: :player | :opponent
}

Link to this section Functions

Link to this function

opponents_side(game_name, player_id) View Source
opponents_side(String.t(), Islands.Engine.Game.player_id()) :: t()

Link to this function

players_side(game_name, player_id) View Source
players_side(String.t(), Islands.Engine.Game.player_id()) :: t()