Xxo v1.0.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
Link to this function
child_spec(init_arg) View Source
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
get_state(game_name) View Source
Link to this function
player_move(game_name, symbol, square) View Source
Link to this function
reset_state(game_name) View Source
Link to this function
start_link(game_name) View Source
Link to this function
stop(game_name) View Source
Link to this function
whereis(game_name) View Source
Returns the pid for the game_name
stored in the registry