Replaced switch with enum of game types.