Islands Client Input v0.1.5 Islands.Client.Input View Source
Prompts for and accepts a move in the Game of Islands.
Inspired by the course Elixir for Programmers by Dave Thomas.
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: IO.chardata() | IO.nodata()
t() :: IO.chardata() | IO.nodata()
Link to this section Functions
Link to this function
accept_move(state, message \\ [])
View Source
accept_move(state, message \\ [])
View Source
accept_move(Islands.Client.State.t(), IO.ANSI.Plus.ansilist()) ::
Islands.Client.State.t() | no_return()
accept_move(Islands.Client.State.t(), IO.ANSI.Plus.ansilist()) :: Islands.Client.State.t() | no_return()