Xxo v0.1.0 Xxo.State View Source
This module is used to track game state and declare when a user has won/lost.
Link to this section Summary
Link to this section Functions
Link to this function
next_player(game_name) View Source
Returns the next player to move
Link to this function
winner?(symbol, state) View Source
Checks if there are 3 symbols in a row