Erlang back end application for the islands game from book Functional Web Development with Elixir, OTP, and Phoenix
Download Islands Engine
$ cd islands_engine
$ rebar3 shell
> {ok, Game} = gen_server:start_link(game, [], []).
> Game ! first.
> {ok, Game} = gen_server:start_link(game, #{test => "test value"}, []).
> gen_server:call(Game, demo_call).
> game:demo_call(Game).
> gen_server:cast(Game, {demo_cast, "another value"}).
> game:demo_cast(Game, "another another value").