refresh

open suspend override fun refresh(game: Game): Game

Refreshes the game state by loading the latest version from storage. Updates the game instance with any changes made by other players.

Return

An updated Game instance with refreshed state.

Parameters

game

The current game instance.