Islands Text Client v0.1.51 Islands.TextClient.State View Source

Holds the state of a text client playing the Game of Islands.

Link to this section Summary

Link to this section Types

Link to this type t() View Source
t() :: %Islands.TextClient.State{
  game_name: String.t(),
  move: [String.codepoint() | integer() | String.t()],
  player_id: Islands.Engine.Game.player_id(),
  player_name: String.t(),
  tally: Islands.Engine.Game.Tally.t()
}

Link to this section Functions

Link to this function init(game_name, player_id, player_name) View Source