View Source Islands.Client.RPC (Islands Client RPC v0.1.30)
Remote procedure calls for the Game of Islands.
Inspired by the course Elixir for Programmers by Dave Thomas.
Link to this section 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.
Link to this section 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.