Islands Engine v0.2.0 Islands.Engine.Guesses View Source
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %Islands.Engine.Guesses{
hits: Islands.Engine.Island.coords(),
misses: Islands.Engine.Island.coords()
}
t() :: %Islands.Engine.Guesses{ hits: Islands.Engine.Island.coords(), misses: Islands.Engine.Island.coords() }
Link to this type
type()
View Source
type()
View Source
type() :: :hit | :miss
type() :: :hit | :miss
Link to this section Functions
Link to this function
add(guesses, type, guess)
View Source
add(guesses, type, guess)
View Source
add(t(), type(), Islands.Engine.Coord.t()) :: t() | {:error, atom()}
add(t(), type(), Islands.Engine.Coord.t()) :: t() | {:error, atom()}
Link to this function
new()
View Source
new()
View Source
new() :: t()
new() :: t()