Islands Coord v0.1.10 Islands.Coord View Source
Creates a coord
struct for the Game of Islands.
Based on the book Functional Web Development by Lance Halvorsen.
Link to this section Summary
Link to this section Types
Link to this section Functions
Link to this function
to_row_col(coord)
View Sourceto_row_col(Islands.Coord.t()) :: String.t() | {:error, atom()}
Link to this function
to_square(coord)
View Sourceto_square(Islands.Coord.t()) :: square() | {:error, atom()}