Packages
Creates a tally struct for the Game of Islands. Also displays the summary of a Game of Islands.
Current section
Files
Jump to
Current section
Files
lib/islands/tally/point.ex
defmodule Islands.Tally.Point do
alias Islands.Coord
@spec format(Coord.row(), Coord.col()) :: String.t()
def format(row, col), do: "(#{row}, #{col})"
end