Managing Game States and Removing Unnecessary Functions

In this meeting, the speaker discusses a sequence of background tasks related to pregame, during game, and postgame activities. They explain how these tasks query the database for available games, activate games within a 24-hour period, review changes in game details, and update game statistics at scheduled intervals. The main question posed is about deactivating a game and ensuring that the final game statistics are recorded before deactivation. The response suggests approaching this as a state machine, where each game goes through stages (scheduled, playing, collecting, done) and the code runs based on the current stage. The speaker advises using strings to represent the game state and recommends checking for any dependencies before deleting functions and APIs. Overall, the meeting primarily focuses on managing game-related tasks and ensuring proper sequencing and data integrity.

(Source: Office Hours 5/3 )

State Change Members Can View The Video Here

View This Video Now

Join State Change Risk-Free