begins adding functionality to play cards