Islands Engine v0.2.13 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: :board_side | :guesses_side
}

Link to this section Functions

Link to this function

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

Link to this function

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