GameAppWeb.TicTacToeLive.GenServer (game_app v0.1.0)
LiveView for Tic Tac Toe game.
Summary
Functions
Handles the client events to reset the game state and mark a position on the board.
Handles the update message from PubSub to update the game state.
Mounts the LiveView and subscribes to the TicTacToe topic.
Functions
Link to this function
handle_event(binary, arg2, socket)
Handles the client events to reset the game state and mark a position on the board.
Link to this function
handle_info(arg, socket)
Handles the update message from PubSub to update the game state.
Link to this function
mount(map, session, socket)
Mounts the LiveView and subscribes to the TicTacToe topic.