Xxo v0.1.0 Xxo.GameServer View Source

The Game module is responsible for starting/stopping new games.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Returns the pid for the game_name stored in the registry

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

computer_move(game_name, symbol) View Source

Link to this function

player_move(game_name, symbol, square) View Source

Returns the pid for the game_name stored in the registry