Islands.Client.Input (Islands Client Input v0.1.47)
View SourcePrompts and accepts a move in the Game of Islands.
Inspired by the course Elixir for Programmers by Dave Thomas.
Summary
Types
@type t() :: IO.chardata() | IO.nodata()
Prompted input
Functions
@spec accept_move(Islands.Client.State.t(), IO.ANSI.Plus.ansilist()) :: Islands.Client.State.t() | no_return()