A game state is used to instruct the client application what to do

The type attribute (discriminator) is used to distinguish between different game state types.