pub fn legacy_game_state_to_snapshot(value: &Value) -> Option<GameSnapshot>Expand description
Convert legacy game state JSON to new GameSnapshot format.
This handles the transition from the flat game_state message
to the structured GameSnapshot type.
ยงPanics
Panics if the state field is not a valid game state.