more checks added to make sure a player can actually purchase card X. And a new function `plays` that allows users to play an action card.