Optionally converts the game from a full game state to a view of the game from the client's perspective
static Game toClientView(Game g) => _toClientViews[g.type]!(g);