This event can only be triggered by the host of the game, who is the first player in the players array of the game.
The following occurs on triggering this event:
The game status is changed to RUNNING
Cards are distributed to all the joined players (there's a function in GameEngine which handles that)
NOTES
Refer to how other event handlers are implemented in the events directory.
Be mindful of corner cases and easily imagined bugs.
Description
This event can only be triggered by the host of the game, who is the first player in the players array of the game. The following occurs on triggering this event:
status
is changed toRUNNING
GameEngine
which handles that)NOTES
events
directory.