View Source Islands.Client.RPC (Islands Client RPC v0.1.33)
Remote procedure calls for the Game of Islands.
Inspired by the course Elixir for Programmers by Dave Thomas.
Summary
Functions
Connects to the engine node and adds the second player of a game on that node.
Connects to the engine node and starts a new game on that node.
Functions
@spec add_player( node(), Islands.Game.name(), Islands.Player.name(), Islands.Player.gender() ) :: Islands.Game.name() | no_return()
Connects to the engine node and adds the second player of a game on that node.
@spec new_game( node(), Islands.Game.name(), Islands.Player.name(), Islands.Player.gender() ) :: Islands.Game.name() | no_return()
Connects to the engine node and starts a new game on that node.