Current section
Files
Jump to
Current section
Files
lib/islands/client/rpc/game_not_started.ex
defmodule Islands.Client.RPC.GameNotStarted do
alias IO.ANSI.Plus, as: ANSI
alias Islands.Game
@spec message(Game.name()) :: ANSI.ansilist()
def message(game_name) do
[
:fuchsia_background,
:light_white,
"Game ",
:italic,
"#{game_name}",
:not_italic,
" not started."
]
end
end